Modal animation and dialog

This commit is contained in:
Max Lynch
2020-12-21 19:49:37 -06:00
parent 100c444676
commit ebead6b1ab
4 changed files with 20 additions and 11 deletions
+9
View File
@@ -0,0 +1,9 @@
const Dialog = () => (
<div className="fixed inset-0 w-full h-full flex align-center justify-center">
<div className="w-200 bg-white rounded-xl">
<div className="flex-1">{children}</div>
</div>
</div>
);
export default Dialog;