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