1 | import * as React from 'react';
|
2 | import { OverridableComponent, OverrideProps } from '../OverridableComponent';
|
3 |
|
4 | export interface ImageListTypeMap<P = {}, D extends React.ElementType = 'ul'> {
|
5 | props: P & {
|
6 | |
7 |
|
8 |
|
9 |
|
10 |
|
11 | cellHeight?: number | 'auto';
|
12 | |
13 |
|
14 |
|
15 | children?: React.ReactNode;
|
16 | |
17 |
|
18 |
|
19 | cols?: number;
|
20 | |
21 |
|
22 |
|
23 | gap?: number;
|
24 | |
25 |
|
26 |
|
27 | rowHeight?: number | 'auto';
|
28 | |
29 |
|
30 |
|
31 |
|
32 | spacing?: number;
|
33 | };
|
34 | defaultComponent: D;
|
35 | classKey: ImageListClassKey;
|
36 | }
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 | declare const ImageList: OverridableComponent<ImageListTypeMap>;
|
48 |
|
49 | export type ImageListClassKey = 'root';
|
50 |
|
51 | export type ImageListProps<
|
52 | D extends React.ElementType = ImageListTypeMap['defaultComponent'],
|
53 | P = {}
|
54 | > = OverrideProps<ImageListTypeMap<P, D>, D>;
|
55 |
|
56 | export default ImageList;
|