import { PropsWithChildren } from 'react'; import { PanelPosition } from './PanelPosition'; import { PanelSize } from './PanelSize'; export type PanelBounds = PanelPosition & PanelSize; interface _PanelProps { className?: string; maxHeight?: number | string; maxWidth?: number | string; minHeight?: number | string; minWidth?: number | string; modal?: boolean; dynamicBounds?: () => PanelBounds | null; position?: PanelPosition | 'tile' | 'center'; resizeable?: boolean; size?: PanelSize; title: string; } export type PanelProps = PropsWithChildren<_PanelProps>; export {};