UNPKG

@mui/material

Version:

Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.

34 lines (31 loc) 993 B
import * as React from 'react'; import { SxProps } from '@mui/system'; import { InternalStandardProps as StandardProps, Theme } from '..'; import { ListItemIconClasses } from './listItemIconClasses'; export interface ListItemIconProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> { /** * The content of the component, normally `Icon`, `SvgIcon`, * or a `@mui/icons-material` SVG icon element. */ children?: React.ReactNode; /** * Override or extend the styles applied to the component. */ classes?: Partial<ListItemIconClasses>; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps<Theme>; } /** * 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;