import React from 'react';

const Button = ({ label, type = 'button' }) => {
  return (
    <button type={type} >
      {label}
    </button>
  );
};

export default Button;
