Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, {Component, PropTypes} from 'react'
- const Modal = ({onClose}) => (
- <div id="modal">
- <form>
- <input type="text" placeholder="Your e-mail" />
- <textarea placeholder="What are your thoughts?" />
- <button onClick={onClose}>Close</button>
- <button>Send</button>
- </form>
- </div>
- )
- Modal.propTypes = {
- onClose: PropTypes.func
- }
- export default Modal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement