import classNames from 'classnames' import { ReactNode } from 'react' interface Props { children?: ReactNode | string content?: ReactNode | string className?: string show: boolean setShow: (show: boolean) => void } const Overlay = ({ children, content, className, show, setShow }: Props) => { const onClickAway = () => { setShow(false) } return show ? ( <>