hh-ui-components
Version:
15 lines • 667 B
JavaScript
;
exports.__esModule = true;
exports.Icons = void 0;
var tslib_1 = require("tslib");
var react_1 = tslib_1.__importDefault(require("react"));
var theming_1 = require("@storybook/theming");
var icons_1 = require("./icons");
var Svg = theming_1.styled.svg(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject([""], [""])));
var Icons = function (_a) {
var icon = _a.icon, props = tslib_1.__rest(_a, ["icon"]);
return (react_1["default"].createElement(Svg, tslib_1.__assign({ viewBox: "0 0 24 24", width: "", height: "" }, props), icons_1.icons[icon]));
};
exports.Icons = Icons;
var templateObject_1;
//# sourceMappingURL=icon.js.map