props.ts 299 B

12345678910111213
  1. import type { PassThroughProps } from "../../types";
  2. export type ClSkeletonPassThrough = {
  3. className?: string;
  4. loading?: PassThroughProps;
  5. };
  6. export type ClSkeletonProps = {
  7. className?: string;
  8. pt?: ClSkeletonPassThrough;
  9. loading?: boolean;
  10. type?: "text" | "image" | "circle" | "button";
  11. };