fix Settings UI and various plugins (#3608)
Co-authored-by: Vendicated <vendicated@riseup.net>
This commit is contained in:
parent
f356f647ff
commit
204f916b2a
12 changed files with 39 additions and 19 deletions
7
packages/discord-types/src/components.d.ts
vendored
7
packages/discord-types/src/components.d.ts
vendored
|
|
@ -43,12 +43,7 @@ export type FormDivider = ComponentType<{
|
|||
}>;
|
||||
|
||||
|
||||
export type FormText = ComponentType<PropsWithChildren<{
|
||||
disabled?: boolean;
|
||||
selectable?: boolean;
|
||||
/** defaults to FormText.Types.DEFAULT */
|
||||
type?: string;
|
||||
}> & TextProps> & { Types: FormTextTypes; };
|
||||
export type FormText = ComponentType<TextProps>;
|
||||
|
||||
export type Tooltip = ComponentType<{
|
||||
text: ReactNode | ComponentType;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue