import React, { PropTypes } from 'react' Button.propTypes = { onClick: PropTypes.func.isRequired, text: PropTypes.string, icon: PropTypes.string } export default function Button({ onClick, text, icon, disabled }) { return (