import * as React from 'react'; import { OverrideProps } from '@mui/types'; import { CreateSlotsAndSlotProps, SlotCommonProps, SlotProps } from '../types/slot'; export interface OptionSlots { root?: React.ElementType; } export type OptionSlotsAndSlotProps = CreateSlotsAndSlotProps; }>; export interface OptionTypeMap

{ props: P & { /** * A text representation of the option's content. * Used for keyboard text navigation matching. */ label?: string | React.ReactElement; /** * The option value. */ value: any; /** * If `true`, the component is disabled. * @default false */ disabled?: boolean; } & OptionSlotsAndSlotProps; defaultComponent: D; } export type OptionProps = OverrideProps, D>; export interface OptionOwnerState extends OptionProps { /** * If `true` the item is highlighted. */ highlighted: boolean; /** * The 0-based index of the item. */ index: number; /** * If `true` the item is selected. */ selected: boolean; row: boolean; }