import { CSSProperties, FC, PropsWithChildren } from 'react'; type OverlayCardProps = { /** Whether the overlay is open or not */ isOpen: boolean; /** Function called when the overlay should be closed */ onClose?: VoidFunction; /** Classname for the [OverlayCardBase] */ className?: string; /** Styles for the [OverlayCardBase] */ style?: CSSProperties; }; /** Props for the Content sub-component */ type OverlayCardContentProps = { /** Classnames to apply to content wrapper