|
|
@ -16,21 +16,24 @@ const useStyles = makeStyles(() => ({ |
|
|
|
borderStyle: 'solid', |
|
|
|
borderStyle: 'solid', |
|
|
|
borderColor: TEXT, |
|
|
|
borderColor: TEXT, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
paper: { |
|
|
|
|
|
|
|
opacity: 0.7, |
|
|
|
|
|
|
|
}, |
|
|
|
})); |
|
|
|
})); |
|
|
|
|
|
|
|
|
|
|
|
const Panel = ({ children }: Props): JSX.Element => { |
|
|
|
const Panel = ({ children }: Props): JSX.Element => { |
|
|
|
const classes = useStyles(); |
|
|
|
const classes = useStyles(); |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<Paper> |
|
|
|
<> |
|
|
|
<Box display="flex" justifyContent="flex-start"> |
|
|
|
<Box display="flex" justifyContent="flex-start"> |
|
|
|
<Box className={classes.rectangle} /> |
|
|
|
<Box className={classes.rectangle} /> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
{children} |
|
|
|
<Paper className={classes.paper}>{children}</Paper> |
|
|
|
<Box display="flex" justifyContent="flex-end"> |
|
|
|
<Box display="flex" justifyContent="flex-end"> |
|
|
|
<Box className={classes.rectangle} /> |
|
|
|
<Box className={classes.rectangle} /> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
</Paper> |
|
|
|
</> |
|
|
|
); |
|
|
|
); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|