@adaptabletools/adaptable-cjs
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
18 lines (17 loc) • 532 B
TypeScript
import * as React from 'react';
import { ReactNode } from 'react';
import { BoxProps } from '../Flex';
interface SizedContainerProps extends Omit<BoxProps, 'children' | 'onResize'> {
style?: React.CSSProperties;
className?: string;
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;