1 | import React, { ReactElement, CSSProperties } from 'react';
|
2 | export interface Props {
|
3 | aspect?: number;
|
4 | width?: string | number;
|
5 | height?: string | number;
|
6 | minWidth?: string | number;
|
7 | minHeight?: string | number;
|
8 | initialDimension?: {
|
9 | width: number;
|
10 | height: number;
|
11 | };
|
12 | maxHeight?: number;
|
13 | children: ReactElement;
|
14 | debounce?: number;
|
15 | id?: string | number;
|
16 | className?: string | number;
|
17 | style?: Omit<CSSProperties, keyof Props>;
|
18 | onResize?: (width: number, height: number) => void;
|
19 | }
|
20 | export declare const ResponsiveContainer: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement | {
|
21 | current: HTMLDivElement;
|
22 | }>>;
|