UNPKG

ur-ui-kit-tm

Version:
18 lines (17 loc) 743 B
var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; import { jsx as _jsx } from "react/jsx-runtime"; import { TextStyled } from "./text.styled"; export var Text = function (_a) { var text = _a.text, color = _a.color, type = _a.type, customProps = _a.customProps; return (_jsx(TextStyled, __assign({ color: color, type: type, customProps: customProps }, { children: text }), void 0)); };