import * as React from 'react'; import { InternalStandardProps as StandardProps } from '..'; export interface FormGroupProps extends StandardProps> { /** * The content of the component. */ children?: React.ReactNode; /** * Override or extend the styles applied to the component. */ classes?: { /** Styles applied to the root element. */ root?: string; /** Styles applied to the root element if `row={true}`. */ row?: string; }; /** * Display group of elements in a compact row. * @default false */ row?: boolean; } export type FormGroupClassKey = keyof NonNullable; /** * `FormGroup` wraps controls such as `Checkbox` and `Switch`. * It provides compact row layout. * For the `Radio`, you should be using the `RadioGroup` component instead of this one. * Demos: * * - [Checkboxes](https://material-ui.com/components/checkboxes/) * - [Switches](https://material-ui.com/components/switches/) * * API: * * - [FormGroup API](https://material-ui.com/api/form-group/) */ export default function FormGroup(props: FormGroupProps): JSX.Element;