Skip to content

Commit 0d7f443

Browse files
author
Kubit
committed
Changed type of SummaryDetails content prop
The content prop now is ReactNode
1 parent b17415f commit 0d7f443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/summaryDetails/types/summaryDetails.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { CustomTokenTypes } from '@/types';
66
import { SummaryDetailsPropsStylesType } from './summaryDetailsTheme';
77

88
export type SummaryDetailsTextType = Omit<IText<string>, 'children'> & {
9-
content: string;
9+
content?: React.ReactNode;
1010
};
1111

1212
export interface ISummaryDetailsStandAlone {

0 commit comments

Comments
 (0)