@atlaskit/dynamic-table
Version:
A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.
20 lines (19 loc) • 855 B
JavaScript
/* table-cell.tsx generated by @compiled/babel-plugin v3.0.2 */
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["isRanking", "innerRef"];
import "./table-cell.compiled.css";
import * as React from 'react';
import { ax, ix } from "@compiled/react/runtime";
import { TableBodyCell } from '../table-cell';
var rankingStyles = null;
// eslint-disable-next-line @repo/internal/react/require-jsdoc
export var RankableTableBodyCell = function RankableTableBodyCell(_ref) {
var isRanking = _ref.isRanking,
innerRef = _ref.innerRef,
props = _objectWithoutProperties(_ref, _excluded);
return /*#__PURE__*/React.createElement(TableBodyCell, _extends({}, props, {
innerRef: innerRef,
className: ax([isRanking && "_vchhusvi"])
}));
};