@equinor/eds-core-react
Version:
The React implementation of the Equinor Design System
24 lines (20 loc) • 593 B
JavaScript
import { forwardRef } from 'react';
import styled from 'styled-components';
import { tableCell } from './DataCell/DataCell.tokens.js';
import { jsx } from 'react/jsx-runtime';
const TableBase = styled.table.withConfig({
displayName: "Table__TableBase",
componentId: "sc-14kktwc-0"
})(["border-spacing:0;background:", ";"], tableCell.background);
const Table = /*#__PURE__*/forwardRef(function Table({
children,
...props
}, ref) {
return /*#__PURE__*/jsx(TableBase, {
...props,
ref: ref,
children: children
});
});
// Table.displayName = 'EdsTable'
export { Table };