fix(lib/discord/design): correct types for Design and TableRow
This commit is contained in:
parent
bdf2b142d7
commit
f61661ac27
2 changed files with 2 additions and 2 deletions
|
|
@ -126,7 +126,6 @@ export interface Design {
|
|||
TableRadioRow: typeof DiscordModules.Components.TableRadioRow
|
||||
TableRow: DiscordModules.Components.TableRow
|
||||
TableRowGroup: DiscordModules.Components.TableRowGroup
|
||||
TableRowTrailingText: DiscordModules.Components.TableRowTrailingText
|
||||
TableSwitchRow: DiscordModules.Components.TableSwitchRow
|
||||
Text: DiscordModules.Components.Text
|
||||
TextArea: DiscordModules.Components.TextArea
|
||||
|
|
|
|||
|
|
@ -459,7 +459,7 @@ export namespace DiscordModules {
|
|||
|
||||
export interface TableRowProps {
|
||||
label: string
|
||||
subLabel?: string
|
||||
subLabel?: ReactNode
|
||||
icon?: ReactNode
|
||||
trailing?: ReactNode
|
||||
arrow?: boolean
|
||||
|
|
@ -478,6 +478,7 @@ export namespace DiscordModules {
|
|||
Arrow: FC
|
||||
Icon: TableRowIcon
|
||||
Group: TableRowGroup
|
||||
TrailingText: TableRowTrailingText
|
||||
}
|
||||
|
||||
export interface TableSwitchRowProps
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue