props.d.ts 646 B

1234567891011121314151617181920
  1. import { IBaseProps } from '../../_util/base';
  2. import { ValidateStatus } from '../form';
  3. export interface FormItemProps extends IBaseProps {
  4. name: string;
  5. label: string;
  6. labelWidth: number;
  7. position: 'horizontal' | 'vertical';
  8. validateStatus: ValidateStatus;
  9. help: string;
  10. requiredMark: 'asterisk' | 'text-required' | 'text-optional';
  11. status: 'default' | 'success' | 'error' | 'validating';
  12. errors: string[];
  13. tooltip?: string;
  14. required?: boolean;
  15. disabled?: boolean;
  16. extra?: string;
  17. message?: string;
  18. dependencies?: string[];
  19. }
  20. export declare const FormItemDefaultProps: FormItemProps;