Blame view

天文台pc/tianwentai-ui/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.d.ts 1.42 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
  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 { ImageListItemBarClasses } from "./imageListItemBarClasses.js";
  export interface ImageListItemBarProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>, 'title'> {
    /**
     * An IconButton element to be used as secondary action target
     * (primary action target is the item itself).
     */
    actionIcon?: React.ReactNode;
    /**
     * Position of secondary action IconButton.
     * @default 'right'
     */
    actionPosition?: 'left' | 'right';
    /**
     * Override or extend the styles applied to the component.
     */
    classes?: Partial<ImageListItemBarClasses>;
    /**
     * Position of the title bar.
     * @default 'bottom'
     */
    position?: 'below' | 'top' | 'bottom';
    /**
     * String or element serving as subtitle (support text).
     */
    subtitle?: React.ReactNode;
    /**
     * The system prop that allows defining system overrides as well as additional CSS styles.
     */
    sx?: SxProps<Theme>;
    /**
     * Title to be displayed.
     */
    title?: React.ReactNode;
  }
  
  /**
   *
   * Demos:
   *
   * - [Image List](https://mui.com/material-ui/react-image-list/)
   *
   * API:
   *
   * - [ImageListItemBar API](https://mui.com/material-ui/api/image-list-item-bar/)
   */
  export default function ImageListItemBar(props: ImageListItemBarProps): React.JSX.Element;