Create Konstitisyon components
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user