Dashboard sipadu mbip
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

Form.d.ts 808B

1234567891011121314151617181920212223242526272829303132
  1. import * as React from 'react';
  2. import FormCheck from './FormCheck';
  3. import FormControl from './FormControl';
  4. import FormGroup from './FormGroup';
  5. import FormLabel from './FormLabel';
  6. import FormText from './FormText';
  7. import { BsPrefixComponent } from './helpers';
  8. export class FormRow<
  9. As extends React.ElementType = 'div'
  10. > extends BsPrefixComponent<As> {}
  11. export interface FormProps {
  12. innerRef?: React.LegacyRef<this>;
  13. inline?: boolean;
  14. validated?: boolean;
  15. }
  16. declare class Form<
  17. As extends React.ElementType = 'form'
  18. > extends BsPrefixComponent<As, FormProps> {
  19. static Row: typeof FormRow;
  20. static Group: typeof FormGroup;
  21. static Control: typeof FormControl;
  22. static Check: typeof FormCheck;
  23. static Label: typeof FormLabel;
  24. static Text: typeof FormText;
  25. }
  26. export default Form;