REACT – EVENTS WITH PASSING PARAMS (no Github) Posted on March 25, 2019 by CG Team import React, { Component } from 'react'; import PropTypes from 'prop-types'; export class Contact extends Component { state = {}; onShowClick = (name, email, e) => { console.log(this.state); console.log(name, email, e.target); }; render() { let { name, email, phone } = this.props; return ( {name} Phone: {' '} {email} Email: {' '} {phone} ); } } Contact.propTypes = { name: PropTypes.string.isRequired, email: PropTypes.string.isRequired, phone: PropTypes.string.isRequired }; export default Contact;