Skip to content

Commit dc3263d

Browse files
djhiCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent 02aec68 commit dc3263d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/ra-ui-materialui/src/detail/Tab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export interface TabProps extends Omit<MuiTabProps, 'children'> {
164164
className?: string;
165165
divider?: ReactNode;
166166
icon?: ReactElement;
167-
label: string | ReactNode;
167+
label: ReactNode;
168168
path?: string;
169169
record?: RaRecord;
170170
spacing?: ResponsiveStyleValue<number | string>;

packages/ra-ui-materialui/src/field/ReferenceOneField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export interface ReferenceOneFieldProps<
106106
/**
107107
* @deprecated Use the empty prop instead
108108
*/
109-
emptyText?: string | ReactNode;
109+
emptyText?: ReactNode;
110110
empty?: ReactNode;
111111
offline?: ReactNode;
112112
queryOptions?: Omit<

0 commit comments

Comments
 (0)