UNPKG

992 BTypeScriptView Raw
1import * as React from 'react';
2export interface GalleryProps extends React.HTMLProps<HTMLDivElement> {
3 /** content rendered inside the Gallery layout */
4 children?: React.ReactNode;
5 /** additional classes added to the Gallery layout */
6 className?: string;
7 /** Adds space between children. */
8 hasGutter?: boolean;
9 /** Minimum widths at various breakpoints. */
10 minWidths?: {
11 default?: string;
12 sm?: string;
13 md?: string;
14 lg?: string;
15 xl?: string;
16 '2xl'?: string;
17 };
18 /** Maximum widths at various breakpoints. */
19 maxWidths?: {
20 default?: string;
21 sm?: string;
22 md?: string;
23 lg?: string;
24 xl?: string;
25 '2xl'?: string;
26 };
27 /** Sets the base component to render. defaults to div */
28 component?: React.ElementType<any> | React.ComponentType<any>;
29}
30export declare const Gallery: React.FunctionComponent<GalleryProps>;
31//# sourceMappingURL=Gallery.d.ts.map
\No newline at end of file