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>

36 lines (35 loc) 905 B
import { ExtractPropTypes, PropType } from 'vue'; import { DirectionT } from '../_utils/types'; export declare const DividerVariantTypes: readonly ["solid", "dashed", "dotted"]; export type DividerVariantT = (typeof DividerVariantTypes)[number]; export declare const dividerProps: { /** * 分割线类型 DividerVariantT */ variant: { type: PropType<DividerVariantT>; default: string; }; /** * 分割线方向 DirectionT */ direction: { type: PropType<DirectionT>; default: string; }; /** * 自定义内容位置 */ labelPosition: { type: PropType<"left" | "center" | "right">; default: string; }; /** * 是否颜色加深 */ darker: { type: BooleanConstructor; default: boolean; }; }; export type DividerPropsT = ExtractPropTypes<typeof dividerProps>;