Files
pawol.nu/components/teks/montre-teks.js
T
2023-03-05 20:45:02 +04:00

16 lines
391 B
JavaScript

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: 0.5}}}>
<Button variant='text' onClick={handleClick}>Afficher les autres paroles</Button>
</Box>
)
}
MontreTeks.propTypes = {
handleClick: PropTypes.func.isRequired
}