Start to build edit member form
This commit is contained in:
14
geneit_app/src/widgets/PropertiesBox.tsx
Normal file
14
geneit_app/src/widgets/PropertiesBox.tsx
Normal file
@ -0,0 +1,14 @@
|
||||
import { Paper, Typography } from "@mui/material";
|
||||
|
||||
export function PropertiesBox(
|
||||
p: React.PropsWithChildren<{ title: string }>
|
||||
): React.ReactElement {
|
||||
return (
|
||||
<Paper elevation={3} style={{ padding: "15px" }}>
|
||||
<Typography variant="h5" style={{ marginBottom: "15px" }}>
|
||||
{p.title}
|
||||
</Typography>
|
||||
{p.children}
|
||||
</Paper>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user