OptionUnstyled API
Importação
import OptionUnstyled from '@mui/base/OptionUnstyled';
// ou
import { OptionUnstyled } from '@mui/base';An unstyled option to be used within a SelectUnstyled.
Propriedades
Propriedades do componente nativo também estão disponíveis.
| Nome | Tipo | Padrão | Descrição |
|---|---|---|---|
| value* | any | The value of the option. | |
| component | elementType | The component used for the root node. Either a string to use a HTML element or a component. | |
| disabled | bool | false | If true, the option will be disabled. |
| label | string | A text representation of the option's content. Used for keyboard text navigation matching. | |
| slotProps | { root?: func | object } | {} | |
| slots | { root?: elementType } | {} |
O
ref é encaminhado para o elemento raiz.