白色主题

This commit is contained in:
2023-02-12 19:05:37 +08:00
parent 57ab6fbb49
commit a0b72a542a
104 changed files with 3942 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
import { TdCheckboxGroupProps } from './type';
declare const props: TdCheckboxGroupProps;
export default props;

View File

@@ -0,0 +1,31 @@
const props = {
style: {
type: String,
value: '',
},
disabled: {
type: Boolean,
value: false,
},
max: {
type: Number,
value: undefined,
},
name: {
type: String,
value: '',
},
options: {
type: Array,
value: [],
},
value: {
type: Array,
value: null,
},
defaultValue: {
type: Array,
value: [],
},
};
export default props;

View File

@@ -0,0 +1,38 @@
export interface TdCheckboxGroupProps {
style?: {
type: StringConstructor;
value?: string;
};
disabled?: {
type: BooleanConstructor;
value?: boolean;
};
max?: {
type: NumberConstructor;
value?: number;
};
name?: {
type: StringConstructor;
value?: string;
};
options?: {
type: ArrayConstructor;
value?: Array<CheckboxOption>;
};
value?: {
type: ArrayConstructor;
value?: CheckboxGroupValue;
};
defaultValue?: {
type: ArrayConstructor;
value?: CheckboxGroupValue;
};
}
export declare type CheckboxOption = string | number | CheckboxOptionObj;
export interface CheckboxOptionObj {
label?: string;
value?: string | number;
disabled?: boolean;
checkAll?: true;
}
export declare type CheckboxGroupValue = Array<string | number>;

View File

@@ -0,0 +1 @@
export {};