UNPKG

hh-ui-components

Version:
10 lines 597 B
import { __assign, __rest } from "tslib"; import React from "react"; /** * Primary UI component for user interaction */ export var Button = function (_a) { var _b = _a.primary, primary = _b === void 0 ? false : _b, _c = _a.size, size = _c === void 0 ? "medium" : _c, backgroundColor = _a.backgroundColor, label = _a.label, props = __rest(_a, ["primary", "size", "backgroundColor", "label"]); return (React.createElement("button", __assign({ type: "button", className: " mb-0 bg-black", style: { backgroundColor: backgroundColor } }, props), label)); }; //# sourceMappingURL=Button.js.map