UNPKG

ideaz-element

Version:

<p align="center"> <a href="" target="_blank" rel="noopener noreferrer"> <img src="./docs/public/logo.svg" alt="Ideaz Element" width="180" style="width: 180px;" /> </a> </p>

59 lines (57 loc) 1.21 kB
import { ExtractPropTypes } from 'vue'; export declare const textProps: { value: { type: StringConstructor; default: string; }; /** * @description text type */ type: { type: StringConstructor; values: string[]; default: string; }; /** * @description text size */ size: { type: globalThis.PropType<"" | "small" | "default" | "large">; default: string; }; /** * @description render ellipsis */ truncated: { type: BooleanConstructor; }; /** * @description custom element tag */ tag: { type: StringConstructor; default: string; }; tooltip: { type: (ObjectConstructor | BooleanConstructor)[]; default: () => {}; }; height: { type: NumberConstructor; }; lines: { type: NumberConstructor; }; length: { type: NumberConstructor; }; fullWidthRecognition: { type: BooleanConstructor; default: boolean; }; text: { type: StringConstructor; default: string; }; }; export type TextProps = ExtractPropTypes<typeof textProps>;