增强SegmentControl系列组件对于Map的支持。
This commit is contained in:
@@ -4,10 +4,12 @@ import { MaterialDesign3SchemeStorage } from './material-3-scheme';
|
||||
import { QSchemeStorage } from './q-scheme';
|
||||
import { SwatchSchemeStorage } from './swatch_scheme';
|
||||
|
||||
export type Option = {
|
||||
label: string;
|
||||
value: string | number | null;
|
||||
};
|
||||
export type Option =
|
||||
| {
|
||||
label: string;
|
||||
value: string | number | null;
|
||||
}
|
||||
| Record<'label' | 'value', string | number | null>;
|
||||
|
||||
export type HarmonyColor = {
|
||||
color: string;
|
||||
|
Reference in New Issue
Block a user