import { Responsive } from '@visx/visx'; import type { CSSProperties, ReactElement } from 'react'; type ParentSizeState = { height: number; left: number; top: number; width: number; }; type Props = { children: (args: ParentSizeState) => ReactElement; parentSizeStyles?: CSSProperties; }; const ParentSize = ({ children, ...props }: Props): JSX.Element => { return ( {children} ); }; export default ParentSize;