1 | import { StandardProps } from '..';
|
2 |
|
3 | export interface ListItemIconProps
|
4 | extends StandardProps<React.HTMLAttributes<HTMLDivElement>, ListItemIconClassKey> {
|
5 | /**
|
6 | * The content of the component, normally `Icon`, `SvgIcon`,
|
7 | * or a `@material-ui/icons` SVG icon element.
|
8 | */
|
9 | children?: React.ReactNode;
|
10 | }
|
11 |
|
12 | export type ListItemIconClassKey = 'root' | 'alignItemsFlexStart';
|
13 |
|
14 | /**
|
15 | * A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.
|
16 | * Demos:
|
17 | *
|
18 | * - [Lists](https://mui.com/components/lists/)
|
19 | *
|
20 | * API:
|
21 | *
|
22 | * - [ListItemIcon API](https://mui.com/api/list-item-icon/)
|
23 | */
|
24 | export default function ListItemIcon(props: ListItemIconProps): JSX.Element;
|