props.ts 469 B

1234567891011121314151617181920212223
  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. type?: ClTextType;
  11. mask?: boolean;
  12. currency?: string;
  13. precision?: number;
  14. maskStart?: number;
  15. maskEnd?: number;
  16. maskChar?: string;
  17. ellipsis?: boolean;
  18. selectable?: boolean;
  19. space?: "ensp" | "emsp" | "nbsp";
  20. decode?: boolean;
  21. };