diff --git a/components/rezo.js b/components/rezo.js new file mode 100644 index 0000000..3b611a2 --- /dev/null +++ b/components/rezo.js @@ -0,0 +1,15 @@ +import {Box} from '@mui/material' +import PropTypes from 'prop-types' + +export default function Rezo({rezo}) { + const {tit, lyen, icon} = rezo + return ( + window.open(lyen, '_blank')}> + {icon} + + ) +} + +Rezo.propTypes = { + rezo: PropTypes.object.isRequired +}