OptionGroupUnstyled API
Documentação da API para o componente React OptionGroupUnstyled . Aprenda sobre as propriedades disponíveis e a API CSS.
Demonstrações
For examples and details on the usage of this React component, visit the component demo pages:
Importação
import OptionGroupUnstyled from '@mui/base/OptionGroupUnstyled';
// ou
import { OptionGroupUnstyled } from '@mui/base';An unstyled option group to be used within a SelectUnstyled.
Propriedades
Propriedades do componente nativo também estão disponíveis.
| Nome | Tipo | Padrão | Descrição | 
|---|---|---|---|
| component | elementType | The component used for the root node. Either a string to use a HTML element or a component. | |
| disabled | bool | false | If  trueall the options in the group will be disabled. | 
| label | node | The human-readable description of the group. | |
| slotProps | { label?: func | object, list?: func | object, root?: func | object } | {} | |
| slots | { label?: elementType, list?: elementType, root?: elementType } | {} | 
O
ref é encaminhado para o elemento raiz.