props.ts 476 B

123456789101112131415161718192021222324
  1. import type { PassThroughProps } from "../../types";
  2. export type ClWatermarkPassThrough = {
  3. className?: string;
  4. container?: PassThroughProps;
  5. };
  6. export type ClWatermarkProps = {
  7. className?: string;
  8. pt?: ClWatermarkPassThrough;
  9. text?: string;
  10. fontSize?: number;
  11. color?: string;
  12. darkColor?: string;
  13. opacity?: number;
  14. rotate?: number;
  15. width?: number;
  16. height?: number;
  17. gapX?: number;
  18. gapY?: number;
  19. zIndex?: number;
  20. fontWeight?: string;
  21. fontFamily?: string;
  22. };