@opensig/opendesign
Version:
<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>
53 lines (52 loc) • 1.35 kB
TypeScript
import { DirectionT } from '../_utils/types';
import { ExtractPropTypes, PropType } from 'vue';
export declare const checkboxGroupProps: {
/**
* @zh-CN 多选框组双向绑定值
* @en-US checkbox group two-way binding value
*/
modelValue: {
type: PropType<Array<string | number>>;
};
/**
* @zh-CN 非受控状态时,多选框组默认值
* @en-US Default value when not controlled
*/
defaultValue: {
type: PropType<Array<string | number>>;
default: () => never[];
};
/**
* @zh-CN 是否禁用多选框组
* @en-US Whether to disable the checkbox group
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
/**
* @zh-CN 多选框组布局方向
* @en-US Layout direction of checkbox group
*/
direction: {
type: PropType<DirectionT>;
default: string;
};
/**
* @zh-CN 最少选择数量
* @en-US Minimum number of selections
*/
min: {
type: NumberConstructor;
default: undefined;
};
/**
* @zh-CN 最多选择数量
* @en-US Maximum number of selections
*/
max: {
type: NumberConstructor;
default: undefined;
};
};
export type CheckboxGroupPropsT = ExtractPropTypes<typeof checkboxGroupProps>;