@opensig/opendesign
Version:
50 lines (49 loc) • 925 B
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
import { SizeT, RoundT, VariantT, Color2T } from '../../_utils/types';
export declare const inBoxProps: {
/**
* 大小 SizeT
*/
size: {
type: PropType<SizeT>;
};
/**
* 圆角值 RoundT
*/
round: {
type: PropType<RoundT>;
};
/**
* 颜色类型 Color2T
*/
color: {
type: PropType<Color2T>;
default: string;
};
/**
* 按钮类型 VariantT
*/
variant: {
type: PropType<VariantT>;
default: string;
};
/**
* 是否聚焦
*/
focused: {
type: BooleanConstructor;
};
/**
* 是否禁用
*/
disabled: {
type: BooleanConstructor;
};
/**
* 是否只读
*/
readonly: {
type: BooleanConstructor;
};
};
export type InBoxProps = ExtractPropTypes<typeof inBoxProps>;