/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/mui-material/src/FormGroup/FormGroup.d.ts
41 строка
1 KB
Siriwat K
[internal] Prepare libraries for v9 stable release (#48206)
07 апр 2026, 11:54
Не верифицирован
07 апр 2026, 11:54
e4de3e2
Код
Авторство
О чём код?
import * as React from 'react'; import { SxProps } from '@mui/system'; import { Theme } from '../styles'; import { InternalStandardProps as StandardProps } from '../internal'; import { FormGroupClasses } from './formGroupClasses'; export interface FormGroupProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> { /** * The content of the component. */ children?: React.ReactNode; /** * Override or extend the styles applied to the component. */ classes?: Partial<FormGroupClasses> | undefined; /** * Display group of elements in a compact row. * @default false */ row?: boolean | undefined; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps<Theme> | undefined; } /** * `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: * * - [Checkbox](https://mui.com/material-ui/react-checkbox/) * - [Switch](https://mui.com/material-ui/react-switch/) * * API: * * - [FormGroup API](https://mui.com/material-ui/api/form-group/) */ export default function FormGroup(props: FormGroupProps): React.JSX.Element;