suomifi-ui-components
Version:
Suomi.fi UI component library
21 lines (18 loc) • 897 B
JavaScript
import { __makeTemplateObject, __rest, __assign } from 'tslib';
import React from 'react';
import { css, styled } from 'styled-components';
import { resets } from '../utils/index.js';
var TableCellResets = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), resets.normalize.html, resets.common);
var TableCell = function TableCell(_a) {
var forwardedRef = _a.forwardedRef,
passProps = __rest(_a, ["forwardedRef"]);
return /*#__PURE__*/React.createElement("td", __assign({}, passProps, {
ref: forwardedRef
}));
};
var HtmlTableCell = styled(TableCell).withConfig({
componentId: "sc-oao1to-0"
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), TableCellResets);
var templateObject_1, templateObject_2;
export { HtmlTableCell };
//# sourceMappingURL=HtmlTableCell.js.map