UNPKG

t-fighting-design

Version:

Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.

63 lines (62 loc) 1.92 kB
import type { PropType, ExtractPropTypes } from 'vue'; import type { TextType, TextDecorationType } from './interface'; export declare const Props: { readonly type: { readonly type: PropType<TextType>; readonly default: () => TextType; readonly validator: (val: TextType) => boolean; }; readonly size: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly color: { readonly type: StringConstructor; readonly default: () => string; }; readonly background: { readonly type: StringConstructor; readonly default: () => string; }; readonly block: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly spacing: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly lineHeight: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly indent: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly bold: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly decoration: { readonly type: PropType<TextDecorationType>; readonly default: () => string; }; readonly padding: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly width: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly ellipsis: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly center: { readonly type: BooleanConstructor; readonly default: () => boolean; }; }; export declare type TextPropsType = ExtractPropTypes<typeof Props>;