import { OverrideProps } from 'mui-ultra/types'; import React from 'react'; import { SlotComponentProps } from '../utils'; export interface OptionGroupUnstyledComponentsPropsOverrides { } export interface OptionGroupUnstyledOwnProps { /** * The human-readable description of the group. */ label?: React.ReactNode; className?: string; children?: React.ReactNode; /** * If `true` all the options in the group will be disabled. * @default false */ disabled?: boolean; /** * The components used for each slot inside the OptionGroupUnstyled. * Either a string to use a HTML element or a component. * @default {} */ components?: { Root?: React.ElementType; Label?: React.ElementType; List?: React.ElementType; }; /** * The props used for each slot inside the Input. * @default {} */ componentsProps?: { root?: SlotComponentProps<'li', OptionGroupUnstyledComponentsPropsOverrides, OptionGroupUnstyledOwnerState>; label?: SlotComponentProps<'span', OptionGroupUnstyledComponentsPropsOverrides, OptionGroupUnstyledOwnerState>; list?: SlotComponentProps<'ul', OptionGroupUnstyledComponentsPropsOverrides, OptionGroupUnstyledOwnerState>; }; } export interface OptionGroupUnstyledTypeMap

{ props: P & OptionGroupUnstyledOwnProps; defaultComponent: D; } export declare type OptionGroupUnstyledProps = OverrideProps, D> & { component?: D; }; export declare type OptionGroupUnstyledOwnerState = OptionGroupUnstyledOwnProps; export declare type OptionGroupUnstyledRootSlotProps = { children?: React.ReactNode; className?: string; ownerState: OptionGroupUnstyledOwnerState; ref: React.Ref; }; export declare type OptionGroupUnstyledLabelSlotProps = { children?: React.ReactNode; className?: string; ownerState: OptionGroupUnstyledOwnerState; }; export declare type OptionGroupUnstyledListSlotProps = { children?: React.ReactNode; className?: string; ownerState: OptionGroupUnstyledOwnerState; };