@opensig/opendesign
Version:
33 lines (32 loc) • 723 B
TypeScript
import { ExtractPropTypes, PropType, Component } from 'vue';
export declare const iconProps: {
/**
* @zh-CN 图标组件
* @en-US Icon component
*/
icon: {
type: PropType<Component>;
};
/**
* @zh-CN 是否为按钮图标
* @en-US Whether it is a button icon
*/
button: {
type: BooleanConstructor;
};
/**
* @zh-CN 是否禁用
* @en-US Whether to disable
*/
disabled: {
type: BooleanConstructor;
};
/**
* @zh-CN 是否为 loading 状态
* @en-US Whether it is in loading state
*/
loading: {
type: BooleanConstructor;
};
};
export type IconPropsT = ExtractPropTypes<typeof iconProps>;