fix(lib/discord/design): correct types for Design and TableRow

This commit is contained in:
PalmDevs 2025-10-26 13:55:22 +07:00
parent bdf2b142d7
commit f61661ac27
No known key found for this signature in database
GPG key ID: 6FAE8F8677ACA8BA
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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