Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FormControl.d.ts 603B

12345678910111213141516171819202122232425
  1. import * as React from 'react';
  2. import Feedback from './Feedback';
  3. import { BsPrefixComponent } from './helpers';
  4. export interface FormControlProps {
  5. innerRef?: React.LegacyRef<this>;
  6. size?: 'sm' | 'lg';
  7. plaintext?: boolean;
  8. readOnly?: boolean;
  9. disabled?: boolean;
  10. value?: string;
  11. onChange?: React.FormEventHandler<this>;
  12. type?: string;
  13. id?: string;
  14. isValid?: boolean;
  15. isInvalid?: boolean;
  16. }
  17. declare class FormControl<
  18. As extends React.ElementType = 'input'
  19. > extends BsPrefixComponent<As, FormControlProps> {
  20. static Feedback: typeof Feedback;
  21. }
  22. export default FormControl;