Skip to content

Commit

Permalink
Pass ElementType
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Apr 12, 2024
1 parent 8cf03e3 commit add07e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-base/src/utils/BaseUI.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ export type BaseUIComponentProps<ElementType extends React.ElementType, OwnerSta
*/
render?:
| ComponentRenderFn<React.ComponentPropsWithRef<ElementType>, OwnerState>
| React.ReactElement;
| React.ReactElement<ElementType>;
};

0 comments on commit add07e1

Please sign in to comment.