UNPKG

@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>

26 lines (25 loc) 493 B
import { ExtractPropTypes, PropType, Component } from 'vue'; export declare const iconProps: { icon: { type: PropType<Component>; }; /** * 按钮图标 */ button: { type: BooleanConstructor; }; /** * 禁用 */ disabled: { type: BooleanConstructor; }; /** * 是否为loading状态 */ loading: { type: BooleanConstructor; }; }; export type IconPropsT = ExtractPropTypes<typeof iconProps>;