Blame view

天文台pc/tianwentai-ui/node_modules/@mui/material/ListItemIcon/ListItemIcon.d.ts 1.05 KB
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  import * as React from 'react';
  import { SxProps } from '@mui/system';
  import { Theme } from "../styles/index.js";
  import { InternalStandardProps as StandardProps } from "../internal/index.js";
  import { ListItemIconClasses } from "./listItemIconClasses.js";
  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/material-ui/react-list/)
   *
   * API:
   *
   * - [ListItemIcon API](https://mui.com/material-ui/api/list-item-icon/)
   */
  export default function ListItemIcon(props: ListItemIconProps): React.JSX.Element;