props.ts 520 B

12345678910111213141516171819202122232425
  1. import type { ClTextType } from "../../types";
  2. export type ClTextPassThrough = {
  3. className?: string;
  4. };
  5. export type ClTextProps = {
  6. className?: string;
  7. pt?: ClTextPassThrough;
  8. value?: string | number | any;
  9. color?: string;
  10. size?: number | string | any;
  11. type?: ClTextType;
  12. mask?: boolean;
  13. currency?: string;
  14. precision?: number;
  15. maskStart?: number;
  16. maskEnd?: number;
  17. maskChar?: string;
  18. ellipsis?: boolean;
  19. selectable?: boolean;
  20. space?: "ensp" | "emsp" | "nbsp";
  21. decode?: boolean;
  22. preWrap?: boolean;
  23. };