diff --git a/src/components/system/Popup/Popup.tsx b/src/components/system/Popup/Popup.tsx new file mode 100644 index 0000000..67ca7a6 --- /dev/null +++ b/src/components/system/Popup/Popup.tsx @@ -0,0 +1,19 @@ +import { AnimateView } from '../AnimateView' + +interface PopupProps { + condition: boolean + children: React.ReactNode +} + +export const Popup: React.FC = ({ condition, children }) => { + return ( + + {children} + + ) +} diff --git a/src/components/system/Popup/index.ts b/src/components/system/Popup/index.ts new file mode 100644 index 0000000..5775e5a --- /dev/null +++ b/src/components/system/Popup/index.ts @@ -0,0 +1 @@ +export * from './Popup'