diff options
author | Syncx <47534062+Syncxv@users.noreply.github.com> | 2023-09-13 07:14:17 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 23:14:17 +0200 |
commit | a73d09a2f0d2adc7ff56e6f6004cd6ec50e202e9 (patch) | |
tree | 0b2e8d93c2cdf157f67dd876175a2ef55e4ec6a9 /src/webpack/common | |
parent | cf7c4d63b6a8f11a4b8d96d39e4b5ca0c0cf4bc3 (diff) | |
download | Vencord-a73d09a2f0d2adc7ff56e6f6004cd6ec50e202e9.tar.gz Vencord-a73d09a2f0d2adc7ff56e6f6004cd6ec50e202e9.tar.bz2 Vencord-a73d09a2f0d2adc7ff56e6f6004cd6ec50e202e9.zip |
PreviewMessage: Add attachments (& misc changes) (#1715)
Diffstat (limited to 'src/webpack/common')
-rw-r--r-- | src/webpack/common/types/menu.d.ts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/webpack/common/types/menu.d.ts b/src/webpack/common/types/menu.d.ts index 1988617..29f3ffa 100644 --- a/src/webpack/common/types/menu.d.ts +++ b/src/webpack/common/types/menu.d.ts @@ -65,8 +65,13 @@ export interface Menu { id: string; interactive?: boolean; }>; - // TODO: Type me - MenuSliderControl: RC<any>; + MenuSliderControl: RC<{ + minValue: number, + maxValue: number, + value: number, + onChange(value: number): void, + renderValue?(value: number): string, + }>; } export interface ContextMenuApi { |