您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

FormCheck.d.ts 715 B

12345678910111213141516171819202122232425262728
  1. import * as React from 'react';
  2. import FormCheckInput from './FormCheckInput';
  3. import FormCheckLabel from './FormCheckLabel';
  4. import { BsPrefixRefForwardingComponent } from './helpers';
  5. export interface FormCheckProps {
  6. bsCustomPrefix?: string;
  7. id?: string;
  8. inline?: boolean;
  9. disabled?: boolean;
  10. title?: string;
  11. label?: React.ReactNode;
  12. custom?: boolean;
  13. type?: 'checkbox' | 'radio' | 'switch';
  14. isValid?: boolean;
  15. isInvalid?: boolean;
  16. feedback?: React.ReactNode;
  17. }
  18. declare interface FormCheck
  19. extends BsPrefixRefForwardingComponent<'input', FormCheckProps> {
  20. Input: typeof FormCheckInput;
  21. Label: typeof FormCheckLabel;
  22. }
  23. declare const FormCheck: FormCheck;
  24. export default FormCheck;