mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
feat: hook up the invice customize api
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user