Add unsupportedNote property

This commit is contained in:
redphx
2024-10-08 07:19:09 +07:00
parent 98fa273b48
commit 8a40d361d9
4 changed files with 21 additions and 10 deletions

View File

@@ -3,7 +3,8 @@ export type PreferenceSetting = {
optionsGroup?: string;
options?: {[index: string]: string};
multipleOptions?: {[index: string]: string};
unsupported?: string | boolean;
unsupported?: boolean;
unsupported_note?: string | HTMLElement;
note?: string | HTMLElement;
type?: SettingElementType;
ready?: (setting: PreferenceSetting) => void;