feat: hook up the invice customize api

This commit is contained in:
Ahmed Bouhuolia
2024-09-12 14:16:07 +02:00
parent a7df23cebc
commit 632c4629de
21 changed files with 391 additions and 169 deletions

View File

@@ -0,0 +1,20 @@
import clsx from 'classnames';
import { Box } from '@/components';
import styles from './Overlay.module.scss';
export interface OverlayProps {
visible?: boolean;
children?: React.ReactNode;
}
export function Overlay({ children, visible }: OverlayProps) {
return (
<Box
className={clsx(styles.root, {
[styles.visible]: visible,
})}
>
{children}
</Box>
);
}