diff --git a/packages/ra-ui-materialui/src/detail/Create.tsx b/packages/ra-ui-materialui/src/detail/Create.tsx index 888f20512cb..15948c34374 100644 --- a/packages/ra-ui-materialui/src/detail/Create.tsx +++ b/packages/ra-ui-materialui/src/detail/Create.tsx @@ -79,8 +79,8 @@ Create.propTypes = { actions: PropTypes.oneOfType([PropTypes.element, PropTypes.bool]), aside: PropTypes.element, children: PropTypes.element, - classes: PropTypes.object, className: PropTypes.string, + disableAuthentication: PropTypes.bool, hasCreate: PropTypes.bool, hasEdit: PropTypes.bool, hasShow: PropTypes.bool, @@ -95,4 +95,5 @@ Create.propTypes = { hasList: PropTypes.bool, mutationOptions: PropTypes.object, transform: PropTypes.func, + sx: PropTypes.any, }; diff --git a/packages/ra-ui-materialui/src/detail/Edit.tsx b/packages/ra-ui-materialui/src/detail/Edit.tsx index 9cdcd504b2f..5f478a4f98a 100644 --- a/packages/ra-ui-materialui/src/detail/Edit.tsx +++ b/packages/ra-ui-materialui/src/detail/Edit.tsx @@ -80,8 +80,8 @@ Edit.propTypes = { actions: PropTypes.oneOfType([PropTypes.element, PropTypes.bool]), aside: PropTypes.element, children: PropTypes.node, - classes: PropTypes.object, className: PropTypes.string, + disableAuthentication: PropTypes.bool, hasCreate: PropTypes.bool, hasEdit: PropTypes.bool, hasShow: PropTypes.bool, @@ -98,4 +98,5 @@ Edit.propTypes = { resource: PropTypes.string, title: PropTypes.node, transform: PropTypes.func, + sx: PropTypes.any, }; diff --git a/packages/ra-ui-materialui/src/detail/Show.tsx b/packages/ra-ui-materialui/src/detail/Show.tsx index a7d7a7298a0..c78673841e1 100644 --- a/packages/ra-ui-materialui/src/detail/Show.tsx +++ b/packages/ra-ui-materialui/src/detail/Show.tsx @@ -75,6 +75,7 @@ Show.propTypes = { actions: PropTypes.oneOfType([PropTypes.element, PropTypes.bool]), children: PropTypes.node.isRequired, className: PropTypes.string, + disableAuthentication: PropTypes.bool, emptyWhileLoading: PropTypes.bool, component: PropTypes.elementType, resource: PropTypes.string, diff --git a/packages/ra-ui-materialui/src/input/ReferenceArrayInput.tsx b/packages/ra-ui-materialui/src/input/ReferenceArrayInput.tsx index c6475fd09b3..024052201c1 100644 --- a/packages/ra-ui-materialui/src/input/ReferenceArrayInput.tsx +++ b/packages/ra-ui-materialui/src/input/ReferenceArrayInput.tsx @@ -103,7 +103,6 @@ export const ReferenceArrayInput = (props: ReferenceArrayInputProps) => { ReferenceArrayInput.propTypes = { children: PropTypes.element.isRequired, - className: PropTypes.string, filter: PropTypes.object, label: PropTypes.string, page: PropTypes.number, @@ -126,7 +125,6 @@ ReferenceArrayInput.defaultProps = { export interface ReferenceArrayInputProps extends InputProps { children: ReactElement; - className?: string; label?: string; page?: number; perPage?: number; diff --git a/packages/ra-ui-materialui/src/input/ReferenceInput.tsx b/packages/ra-ui-materialui/src/input/ReferenceInput.tsx index 5a686b97b52..22feec74228 100644 --- a/packages/ra-ui-materialui/src/input/ReferenceInput.tsx +++ b/packages/ra-ui-materialui/src/input/ReferenceInput.tsx @@ -104,11 +104,8 @@ export const ReferenceInput = (props: ReferenceInputProps) => { ReferenceInput.propTypes = { children: PropTypes.element.isRequired, - className: PropTypes.string, - classes: PropTypes.object, filter: PropTypes.object, label: PropTypes.string, - onChange: PropTypes.func, page: PropTypes.number, perPage: PropTypes.number, record: PropTypes.object, @@ -130,7 +127,6 @@ ReferenceInput.defaultProps = { export interface ReferenceInputProps extends InputProps { children: ReactElement; - className?: string; label?: string; page?: number; perPage?: number; diff --git a/packages/ra-ui-materialui/src/list/List.tsx b/packages/ra-ui-materialui/src/list/List.tsx index 5ba80835aa6..7b7bdf364d8 100644 --- a/packages/ra-ui-materialui/src/list/List.tsx +++ b/packages/ra-ui-materialui/src/list/List.tsx @@ -96,7 +96,6 @@ List.propTypes = { actions: PropTypes.oneOfType([PropTypes.bool, PropTypes.element]), aside: PropTypes.element, children: PropTypes.element.isRequired, - classes: PropTypes.object, className: PropTypes.string, emptyWhileLoading: PropTypes.bool, filter: PropTypes.object,