Skip to content

Commit

Permalink
fix(Settings): extend description SettingsItem prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunory committed Oct 13, 2023
1 parent f8f8491 commit dae240e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Settings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/components/Settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export interface SettingsItemProps {
children: React.ReactNode;
withBadge?: boolean;
mode?: 'row';
description?: string;
description?: React.ReactNode;
}

export interface SettingsContextType
Expand Down

0 comments on commit dae240e

Please sign in to comment.