@material-ui/core
Version:
React components that implement Google's Material Design.
25 lines (21 loc) • 674 B
TypeScript
import { StandardProps } from '..';
export interface ListItemIconProps
extends StandardProps<React.HTMLAttributes<HTMLDivElement>, ListItemIconClassKey> {
/**
* The content of the component, normally `Icon`, `SvgIcon`,
* or a `@material-ui/icons` SVG icon element.
*/
children?: React.ReactNode;
}
export type ListItemIconClassKey = 'root' | 'alignItemsFlexStart';
/**
* A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.
* Demos:
*
* - [Lists](https://mui.com/components/lists/)
*
* API:
*
* - [ListItemIcon API](https://mui.com/api/list-item-icon/)
*/
export default function ListItemIcon(props: ListItemIconProps): JSX.Element;