props.ts 514 B

123456789101112131415161718192021
  1. import type { ClFormLabelPosition, PassThroughProps } from "../../types";
  2. export type ClFormItemPassThrough = {
  3. className?: string;
  4. inner?: PassThroughProps;
  5. label?: PassThroughProps;
  6. content?: PassThroughProps;
  7. error?: PassThroughProps;
  8. };
  9. export type ClFormItemProps = {
  10. className?: string;
  11. pt?: ClFormItemPassThrough;
  12. label?: string;
  13. prop?: string;
  14. labelPosition?: ClFormLabelPosition;
  15. labelWidth?: string | any;
  16. showAsterisk?: boolean | any;
  17. showMessage?: boolean | any;
  18. required?: boolean;
  19. };