UNPKG

1.4 kBTypeScriptView Raw
1import * as React from 'react';
2import { SxProps } from '@mui/system';
3import { InternalStandardProps as StandardProps, Theme } from '..';
4import { ImageListItemBarClasses } from './imageListItemBarClasses';
5
6export interface ImageListItemBarProps
7 extends StandardProps<React.HTMLAttributes<HTMLDivElement>, 'title'> {
8 /**
9 * An IconButton element to be used as secondary action target
10 * (primary action target is the item itself).
11 */
12 actionIcon?: React.ReactNode;
13 /**
14 * Position of secondary action IconButton.
15 * @default 'right'
16 */
17 actionPosition?: 'left' | 'right';
18 /**
19 * Override or extend the styles applied to the component.
20 */
21 classes?: Partial<ImageListItemBarClasses>;
22 /**
23 * Position of the title bar.
24 * @default 'bottom'
25 */
26 position?: 'below' | 'top' | 'bottom';
27 /**
28 * String or element serving as subtitle (support text).
29 */
30 subtitle?: React.ReactNode;
31 /**
32 * The system prop that allows defining system overrides as well as additional CSS styles.
33 */
34 sx?: SxProps<Theme>;
35 /**
36 * Title to be displayed.
37 */
38 title?: React.ReactNode;
39}
40
41/**
42 *
43 * Demos:
44 *
45 * - [Image List](https://mui.com/material-ui/react-image-list/)
46 *
47 * API:
48 *
49 * - [ImageListItemBar API](https://mui.com/material-ui/api/image-list-item-bar/)
50 */
51export default function ImageListItemBar(props: ImageListItemBarProps): React.JSX.Element;