Create MontreTeks component

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-05-22 22:20:07 +04:00
parent 7e76424126
commit c1138b648a
+15
View File
@@ -0,0 +1,15 @@
import PropTypes from 'prop-types'
import Box from '@mui/material/Box'
import {Button} from '@mui/material'
export default function MontreTeks({handleClick}) {
return (
<Box sx={{'& > :not(style)': {m: 1.7}}}>
<Button variant='text' onClick={handleClick}>Afficher tous les textes</Button>
</Box>
)
}
MontreTeks.propTypes = {
handleClick: PropTypes.func.isRequired
}