1 | import * as React from 'react';
|
2 | import { StandardProps } from '..';
|
3 |
|
4 | export interface GridListTileBarProps extends StandardProps<{}, GridListTileBarClassKey> {
|
5 | /**
|
6 | * An IconButton element to be used as secondary action target
|
7 | * (primary action target is the tile itself).
|
8 | */
|
9 | actionIcon?: React.ReactNode;
|
10 | /**
|
11 | * Position of secondary action IconButton.
|
12 | */
|
13 | actionPosition?: 'left' | 'right';
|
14 | /**
|
15 | * String or element serving as subtitle (support text).
|
16 | */
|
17 | subtitle?: React.ReactNode;
|
18 | /**
|
19 | * Title to be displayed on tile.
|
20 | */
|
21 | title?: React.ReactNode;
|
22 | /**
|
23 | * Position of the title bar.
|
24 | */
|
25 | titlePosition?: 'top' | 'bottom';
|
26 | }
|
27 |
|
28 | export type GridListTileBarClassKey =
|
29 | | 'root'
|
30 | | 'titlePositionBottom'
|
31 | | 'titlePositionTop'
|
32 | | 'rootSubtitle'
|
33 | | 'titleWrap'
|
34 | | 'titleWrapActionPosLeft'
|
35 | | 'titleWrapActionPosRight'
|
36 | | 'title'
|
37 | | 'subtitle'
|
38 | | 'actionIcon'
|
39 | | 'actionIconActionPosLeft';
|
40 |
|
41 | /**
|
42 | * ⚠️ The GridListTileBar component was renamed to ImageListItemBar to align with the current Material Design naming.
|
43 | *
|
44 | * You should use `import { ImageListItemBar } from '@material-ui/core'`
|
45 | * or `import ImageListItemBar from '@material-ui/core/ImageListItemBar'`.
|
46 | * API:
|
47 | *
|
48 | * - [GridListTileBar API](https://mui.com/api/grid-list-tile-bar/)
|
49 | */
|
50 | export default function GridListTileBar(props: GridListTileBarProps): JSX.Element;
|