We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8df1eb commit b04c59eCopy full SHA for b04c59e
packages/ra-ui-materialui/src/list/SingleFieldList.tsx
@@ -160,7 +160,7 @@ export interface SingleFieldListProps<RecordType extends Record = Record>
160
extends HtmlHTMLAttributes<HTMLDivElement> {
161
className?: string;
162
classes?: ClassesOverride<typeof useStyles>;
163
- component?: ComponentType<any>;
+ component?: string | ComponentType<any>;
164
linkType?: string | false;
165
children: React.ReactElement;
166
// can be injected when using the component without context
0 commit comments