Gazebo_simulation-Frontend/node_modules/react-bootstrap/Form.d.ts

33 lines
808 B
TypeScript
Raw Normal View History

2020-12-21 11:29:31 -04:00
import * as React from 'react';
import FormCheck from './FormCheck';
import FormControl from './FormControl';
import FormGroup from './FormGroup';
import FormLabel from './FormLabel';
import FormText from './FormText';
import { BsPrefixComponent } from './helpers';
export class FormRow<
As extends React.ElementType = 'div'
> extends BsPrefixComponent<As> {}
export interface FormProps {
innerRef?: React.LegacyRef<this>;
inline?: boolean;
validated?: boolean;
}
declare class Form<
As extends React.ElementType = 'form'
> extends BsPrefixComponent<As, FormProps> {
static Row: typeof FormRow;
static Group: typeof FormGroup;
static Control: typeof FormControl;
static Check: typeof FormCheck;
static Label: typeof FormLabel;
static Text: typeof FormText;
}
export default Form;