UNPKG

vdk-components

Version:

React component library built with TypeScript and SCSS

3 lines (2 loc) 623 B
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react/jsx-runtime")):"function"==typeof define&&define.amd?define(["exports","react/jsx-runtime"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).VDKButton={},e.jsxRuntime)}(this,(function(e,t){"use strict";e.Button=function(e){var n=e.label,i=e.onClick,o=e.variant,d=void 0===o?"primary":o,u=e.size,s=void 0===u?"medium":u,r=e.disabled,a=void 0!==r&&r;return t.jsx("button",{className:"vdk-button vdk-button--".concat(d," vdk-button--").concat(s),onClick:i,disabled:a,children:n})}})); //# sourceMappingURL=index.umd.js.map