import React from 'react';

const Button = ({ text, onClick }) => (
  <button className="button light" type="button" onClick={onClick}>
    {text}
  </button>
);

export default Button;
