UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

16 lines (15 loc) 474 B
import * as React from 'react'; import { BoxProps } from 'rebass'; import { ReactNode } from 'react'; interface SizedContainerProps extends Omit<BoxProps, 'children' | 'onResize'> { children: (size: { width: number; height: number; }) => ReactNode; onResize?: (size: { width: number; height: number; }) => void; } declare const SizedContainer: (props: SizedContainerProps) => React.JSX.Element; export default SizedContainer;