@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>
39 lines (38 loc) • 818 B
TypeScript
import { ExtractPropTypes, PropType, Component } from 'vue';
import { RoundT } from '../_utils/types';
export declare const buttonToggleProps: {
/**
* 双向绑定值,是否被选中
*/
checked: {
type: BooleanConstructor;
default: undefined;
};
/**
* 非受控状态时,默认是否选中
*/
defaultChecked: {
type: BooleanConstructor;
default: boolean;
};
/**
* 圆角值 RoundT
*/
round: {
type: PropType<RoundT>;
};
/**
* 前缀图标
*/
icon: {
type: PropType<Component>;
};
/**
* 是否禁用
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
};
export type ButtonToggleProps = ExtractPropTypes<typeof buttonToggleProps>;