client portal dashboard & claim-reports
This commit is contained in:
19
frontend/client-portal/src/components/Popup.tsx
Normal file
19
frontend/client-portal/src/components/Popup.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
// react
|
||||
import React from 'react';
|
||||
// mui
|
||||
import { Dialog, DialogTitle, DialogContent } from '@mui/material';
|
||||
|
||||
export default function Popup(props: any) {
|
||||
const { title, children, openPopup, setOpenPopup } = props;
|
||||
|
||||
return (
|
||||
<Dialog open={openPopup}>
|
||||
<DialogTitle>
|
||||
<div>Title goes here.</div>
|
||||
</DialogTitle>
|
||||
<DialogContent>
|
||||
<div>Content goes here.</div>
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user