props.ts 362 B

12345678910111213141516
  1. import type { PassThroughProps } from "../../types";
  2. export type ClNoticebarPassThrough = {
  3. className?: string;
  4. text?: PassThroughProps;
  5. };
  6. export type ClNoticebarProps = {
  7. className?: string;
  8. pt?: ClNoticebarPassThrough;
  9. text?: string | string[];
  10. direction?: "horizontal" | "vertical";
  11. duration?: number;
  12. speed?: number;
  13. height?: string | number;
  14. };