Files
jindengchen-ai-report/cool-unix/uni_modules/cool-ui/components/cl-text/props.ts

27 lines
537 B
TypeScript
Raw Normal View History

2025-11-13 10:36:23 +08:00
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;
};