import PropTypes from 'prop-types'; const Valami = (props) => { return(
{props.egy}
{props.ketto}
{props.children}
) } Valami.propTypes = { egy: PropTypes.number.isRequired, ketto: PropTypes.string.isRequired, children: PropTypes.node.isRequired, } export default LesssonCard