import * as React from 'react'; import { ExtendButtonBase } from '@material-ui/core/ButtonBase'; import { OverridableComponent, OverrideProps } from '@material-ui/core/OverridableComponent'; export interface ListItemTypeMap { props: P & { alignItems?: 'flex-start' | 'center'; autoFocus?: boolean; button?: boolean; ContainerComponent?: React.ElementType>; ContainerProps?: React.HTMLAttributes; dense?: boolean; disabled?: boolean; disableGutters?: boolean; divider?: boolean; focusVisibleClassName?: string; selected?: boolean; }; defaultComponent: D; classKey: ListItemClassKey; } /** * Uses an additional container component if `ListItemSecondaryAction` is the last child. * Demos: * * - [Lists](https://mui.com/components/lists/) * - [Transfer List](https://mui.com/components/transfer-list/) * * API: * * - [ListItem API](https://mui.com/api/list-item/) */ declare const ListItem: OverridableComponent> & ExtendButtonBase>; export type ListItemClassKey = | 'root' | 'container' | 'focusVisible' | 'default' | 'dense' | 'disabled' | 'divider' | 'gutters' | 'button' | 'secondaryAction' | 'selected'; export type ListItemProps = OverrideProps< ListItemTypeMap, D >; export default ListItem;