suomifi-ui-components
Version:
Suomi.fi UI component library
21 lines (18 loc) • 1.06 kB
JavaScript
import { __makeTemplateObject, __rest, __assign } from 'tslib';
import React from 'react';
import { css, styled } from 'styled-components';
import { resets } from '../utils/index.js';
var spanResets = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n display: block;\n max-width: 100%;\n word-wrap: normal;\n word-break: normal;\n white-space: normal;\n"], ["\n ", "\n ", "\n display: block;\n max-width: 100%;\n word-wrap: normal;\n word-break: normal;\n white-space: normal;\n"])), resets.normalize.html, resets.common);
var Span = function Span(_a) {
var forwardedRef = _a.forwardedRef,
passProps = __rest(_a, ["forwardedRef"]);
return /*#__PURE__*/React.createElement("p", __assign({
ref: forwardedRef
}, passProps));
};
var HtmlP = styled(Span).withConfig({
componentId: "sc-13pc990-0"
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), spanResets);
var templateObject_1, templateObject_2;
export { HtmlP };
//# sourceMappingURL=HtmlP.js.map