suomifi-ui-components
Version:
Suomi.fi UI component library
27 lines (21 loc) • 1.17 kB
JavaScript
;
var tslib = require('tslib');
var React = require('react');
var styled = require('styled-components');
var index = require('../utils/index.js');
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
var React__default = /*#__PURE__*/_interopDefault(React);
var TableCaptionResets = styled.css(templateObject_1 || (templateObject_1 = tslib.__makeTemplateObject(["\n ", "\n ", "\n text-align: left;\n"], ["\n ", "\n ", "\n text-align: left;\n"])), index.resets.normalize.html, index.resets.common);
var TableCaption = function TableCaption(_a) {
var forwardedRef = _a.forwardedRef,
passProps = tslib.__rest(_a, ["forwardedRef"]);
return /*#__PURE__*/React__default.default.createElement("caption", tslib.__assign({}, passProps, {
ref: forwardedRef
}));
};
var HtmlTableCaption = styled.styled(TableCaption).withConfig({
componentId: "sc-1hot8d7-0"
})(templateObject_2 || (templateObject_2 = tslib.__makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), TableCaptionResets);
var templateObject_1, templateObject_2;
exports.HtmlTableCaption = HtmlTableCaption;
//# sourceMappingURL=HtmlTableCaption.js.map