mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-01 09:40:59 +08:00
20 lines
334 B
TypeScript
20 lines
334 B
TypeScript
export type SelectItem = {
|
|
id: number;
|
|
label?: string;
|
|
value: string;
|
|
disabled?: boolean;
|
|
};
|
|
|
|
export type AbSettingProps = {
|
|
label: string;
|
|
type: 'input' | 'switch' | 'select';
|
|
css?: string;
|
|
prop?: any;
|
|
bottomLine?: boolean;
|
|
};
|
|
|
|
export type SettingItem<T> = AbSettingProps & {
|
|
configKey: keyof T;
|
|
data?: any;
|
|
};
|