convert some corp to mui

This commit is contained in:
Olivier Gagnon
2021-09-30 13:51:55 -04:00
parent 5cce1c255c
commit 510fcedf90
12 changed files with 691 additions and 656 deletions
+16
View File
@@ -0,0 +1,16 @@
import React from "react";
import { Modal } from "./Modal";
interface IProps {
open: boolean;
onClose: () => void;
children: JSX.Element[] | JSX.Element | React.ReactElement[] | React.ReactElement;
}
export function StaticModal(props: IProps): React.ReactElement {
return (
<Modal open={props.open} onClose={props.onClose}>
{props.children}
</Modal>
);
}