2022-01-26 07:10:30 +04:00
|
|
|
import {IconButton, Stack, Link} from '@mui/material'
|
2022-01-23 21:46:44 +04:00
|
|
|
import PropTypes from 'prop-types'
|
|
|
|
|
|
|
|
|
|
export default function Rezo({rezo}) {
|
|
|
|
|
const {tit, lyen, icon} = rezo
|
|
|
|
|
return (
|
2022-01-24 06:46:53 +04:00
|
|
|
<Stack direction='row' spacing={1}>
|
2022-01-26 07:10:30 +04:00
|
|
|
<Link target='_blank' rel='noreferrer' href={lyen}>
|
|
|
|
|
<IconButton title={tit}>
|
|
|
|
|
{icon}
|
|
|
|
|
</IconButton>
|
|
|
|
|
</Link>
|
2022-01-24 06:46:53 +04:00
|
|
|
</Stack>
|
2022-01-23 21:46:44 +04:00
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Rezo.propTypes = {
|
|
|
|
|
rezo: PropTypes.object.isRequired
|
|
|
|
|
}
|