1 | import * as React from 'react';
|
2 | import { OverridableComponent, OverrideProps } from '../OverridableComponent';
|
3 |
|
4 | export interface ImageListItemTypeMap<P = {}, D extends React.ElementType = 'li'> {
|
5 | props: P & {
|
6 | |
7 |
|
8 |
|
9 | children?: React.ReactNode;
|
10 | |
11 |
|
12 |
|
13 | cols?: number;
|
14 | |
15 |
|
16 |
|
17 | rows?: number;
|
18 | };
|
19 | defaultComponent: D;
|
20 | classKey: ImageListItemClassKey;
|
21 | }
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | declare const ImageListItem: OverridableComponent<ImageListItemTypeMap>;
|
33 |
|
34 | export type ImageListItemClassKey = 'root' | 'item' | 'imgFullHeight' | 'imgFullWidth';
|
35 |
|
36 | export type ImageListItemProps<
|
37 | D extends React.ElementType = ImageListItemTypeMap['defaultComponent'],
|
38 | P = {}
|
39 | > = OverrideProps<ImageListItemTypeMap<P, D>, D>;
|
40 |
|
41 | export default ImageListItem;
|