Create Konstitisyon components

This commit is contained in:
2024-05-18 09:36:44 +04:00
parent 182656bf98
commit a13bc564a9
3 changed files with 65 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import PropTypes from 'prop-types'
import Box from '@mui/material/Box'
import Typography from '@mui/material/Typography'
export default function Titre({titre}) {
return (
<Box p={1} marginBlock={1}>
<Typography sx={{textDecoration: 'underline'}} fontWeight='bold'>{titre}</Typography>
</Box>
)
}
Titre.propTypes = {
titre: PropTypes.string.isRequired
}