Files
pawol.nu/components/teks/montre-teks.js
T

16 lines
391 B
JavaScript
Raw Normal View History

2022-05-22 22:20:07 +04:00
import PropTypes from 'prop-types'
import Box from '@mui/material/Box'
import {Button} from '@mui/material'
export default function MontreTeks({handleClick}) {
return (
2022-05-23 18:34:55 +04:00
<Box sx={{'& > :not(style)': {m: 0.5}}}>
2023-03-05 20:45:02 +04:00
<Button variant='text' onClick={handleClick}>Afficher les autres paroles</Button>
2022-05-22 22:20:07 +04:00
</Box>
)
}
MontreTeks.propTypes = {
handleClick: PropTypes.func.isRequired
}