'use strict';

var React = require('react');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefaultLegacy(React);

const Button = ({ text, onClick, className = "" }) => {
  return /* @__PURE__ */ React__default["default"].createElement(
    "button",
    {
      type: "button",
      onClick,
      className: `p-4 border rounded text-gray-700 ${className}`
    },
    text
  );
};

exports.Button = Button;
//# sourceMappingURL=Button-9ebe120c.js.map
