Files
WAI_Project_UNIX/uni_modules/cool-ui/components/cl-text/props.ts
2025-09-10 23:10:47 +08:00

27 lines
537 B
TypeScript

import type { ClTextType } from "../../types";
export type ClTextPassThrough = {
className?: string;
};
export type ClTextProps = {
className?: string;
pt?: ClTextPassThrough;
value?: string | number | any;
color?: string;
size?: number | string | any;
type?: ClTextType;
mask?: boolean;
currency?: string;
precision?: number;
maskStart?: number;
maskEnd?: number;
maskChar?: string;
ellipsis?: boolean;
lines?: number;
selectable?: boolean;
space?: "ensp" | "emsp" | "nbsp";
decode?: boolean;
preWrap?: boolean;
};