@material-ui/core
Version:
React components that implement Google's Material Design.
37 lines (32 loc) • 882 B
TypeScript
import * as React from 'react';
import { StandardProps } from '..';
import { ButtonBaseProps } from '../ButtonBase';
export interface ListItemProps
extends StandardProps<
ButtonBaseProps & React.LiHTMLAttributes<HTMLElement>,
ListItemClassKey,
'component'
> {
button?: boolean;
component?: React.ReactType<ListItemProps>;
ContainerComponent?: React.ReactType<React.HTMLAttributes<HTMLDivElement>>;
ContainerProps?: React.HTMLAttributes<HTMLDivElement>;
dense?: boolean;
disabled?: boolean;
disableGutters?: boolean;
divider?: boolean;
focusVisibleClassName?: string;
}
export type ListItemClassKey =
| 'root'
| 'container'
| 'focusVisible'
| 'default'
| 'dense'
| 'disabled'
| 'divider'
| 'gutters'
| 'button'
| 'secondaryAction';
declare const ListItem: React.ComponentType<ListItemProps>;
export default ListItem;