1 | import * as React from 'react';
|
2 | import { SxProps } from '@mui/system';
|
3 | import { InternalStandardProps as StandardProps, Theme } from '..';
|
4 | import { ListItemIconClasses } from './listItemIconClasses';
|
5 |
|
6 | export interface ListItemIconProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
|
7 | /**
|
8 | * The content of the component, normally `Icon`, `SvgIcon`,
|
9 | * or a `@mui/icons-material` SVG icon element.
|
10 | */
|
11 | children?: React.ReactNode;
|
12 | /**
|
13 | * Override or extend the styles applied to the component.
|
14 | */
|
15 | classes?: Partial<ListItemIconClasses>;
|
16 | /**
|
17 | * The system prop that allows defining system overrides as well as additional CSS styles.
|
18 | */
|
19 | sx?: SxProps<Theme>;
|
20 | }
|
21 |
|
22 | /**
|
23 | * A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.
|
24 | *
|
25 | * Demos:
|
26 | *
|
27 | * - [Lists](https://mui.com/material-ui/react-list/)
|
28 | *
|
29 | * API:
|
30 | *
|
31 | * - [ListItemIcon API](https://mui.com/material-ui/api/list-item-icon/)
|
32 | */
|
33 | export default function ListItemIcon(props: ListItemIconProps): React.JSX.Element;
|