import * as React from 'react'; import { OverridableStringUnion, OverrideProps } from '@mui/types'; import { CreateSlotsAndSlotProps, SlotCommonProps, SlotProps } from '../types/slot'; export type ListDividerSlot = 'root'; export interface ListDividerSlots { /** * The component that renders the root. * @default 'li' */ root?: React.ElementType; } export type ListDividerSlotsAndSlotProps = CreateSlotsAndSlotProps; }>; export interface ListDividerInsetOverrides { } export interface ListDividerTypeMap

{ props: P & { /** * The empty space on the side(s) of the divider in a vertical list. * * For horizontal list (the nearest parent List has `row` prop set to `true`), only `inset="gutter"` affects the list divider. * @default 'context' */ variant?: OverridableStringUnion<'context' | 'gutter' | 'startDecorator' | 'startContent', ListDividerInsetOverrides>; /** * The component orientation. * @default 'horizontal' */ orientation?: 'horizontal' | 'vertical'; } & ListDividerSlotsAndSlotProps; defaultComponent: D; } export type ListDividerProps = OverrideProps, D>; export interface ListDividerOwnerState extends ListDividerProps { /** * @internal * The internal prop for controlling CSS margin of the element. */ 'data-first-child'?: boolean; /** * @internal * The divider is wrapped by a horizontal list. */ row: boolean; }