UNPKG

suomifi-ui-components

Version:
21 lines (18 loc) 972 B
import { __makeTemplateObject, __rest, __assign } from 'tslib'; import React from 'react'; import { css, styled } from 'styled-components'; import { resets } from '../utils/index.js'; var TableResets = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n border-spacing: 0;\n border-collapse: collapse;\n"], ["\n ", "\n ", "\n border-spacing: 0;\n border-collapse: collapse;\n"])), resets.normalize.html, resets.common); var Table = function Table(_a) { var forwardedRef = _a.forwardedRef, passProps = __rest(_a, ["forwardedRef"]); return /*#__PURE__*/React.createElement("table", __assign({}, passProps, { ref: forwardedRef })); }; var HtmlTable = styled(Table).withConfig({ componentId: "sc-8gzoqw-0" })(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), TableResets); var templateObject_1, templateObject_2; export { HtmlTable }; //# sourceMappingURL=HtmlTable.js.map