PreviewMessage: Add attachments (& misc changes) (#1715)

This commit is contained in:
Syncx 2023-09-13 07:14:17 +10:00 committed by GitHub
parent cf7c4d63b6
commit a73d09a2f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 108 additions and 8 deletions

View file

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