diff --git a/src/components/Settings/README.md b/src/components/Settings/README.md index c7bb25e1..e85e1908 100644 --- a/src/components/Settings/README.md +++ b/src/components/Settings/README.md @@ -55,7 +55,7 @@ The components provides layouting functionality of settings panel with the follo | renderTitleComponent | Function | | | Cusomt header of | | align | 'top', 'center' | | 'center' | Item alignment | | mode | 'row' | | | Layout for mobile. Title and control will be placed in row | -| description | string | | | Description of item | +| description | ReactNode | | | Description of item | ### Usage diff --git a/src/components/Settings/Settings.tsx b/src/components/Settings/Settings.tsx index 90487f87..76a01eaf 100644 --- a/src/components/Settings/Settings.tsx +++ b/src/components/Settings/Settings.tsx @@ -63,7 +63,7 @@ export interface SettingsItemProps { children: React.ReactNode; withBadge?: boolean; mode?: 'row'; - description?: string; + description?: React.ReactNode; } export interface SettingsContextType