UNPKG

suomifi-ui-components

Version:
21 lines (18 loc) 969 B
import { __makeTemplateObject, __rest, __assign } from 'tslib'; import React from 'react'; import { css, styled } from 'styled-components'; import { resets } from '../utils/index.js'; var TableCaptionResets = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n text-align: left;\n"], ["\n ", "\n ", "\n text-align: left;\n"])), resets.normalize.html, resets.common); var TableCaption = function TableCaption(_a) { var forwardedRef = _a.forwardedRef, passProps = __rest(_a, ["forwardedRef"]); return /*#__PURE__*/React.createElement("caption", __assign({}, passProps, { ref: forwardedRef })); }; var HtmlTableCaption = styled(TableCaption).withConfig({ componentId: "sc-1hot8d7-0" })(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), TableCaptionResets); var templateObject_1, templateObject_2; export { HtmlTableCaption }; //# sourceMappingURL=HtmlTableCaption.js.map