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>

25 lines (24 loc) 572 B
import { ExtractPropTypes, PropType } from 'vue'; export declare const ResultStatusTypes: readonly ["info", "success", "warning", "danger"]; export type ResultStatusT = (typeof ResultStatusTypes)[number]; export declare const resultProps: { /** * 状态 */ status: { type: PropType<ResultStatusT>; }; /** * 标题 */ title: { type: StringConstructor; }; /** * 描述 **/ description: { type: StringConstructor; }; }; export type ResultPropsT = ExtractPropTypes<typeof resultProps>;