UNPKG

@atlaskit/dynamic-table

Version:

A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.

26 lines (25 loc) 1.1 kB
/* table-row.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", "isRankingItem", "testId"]; import "./table-row.compiled.css"; import * as React from 'react'; import { ax, ix } from "@compiled/react/runtime"; import { forwardRef } from 'react'; import { TableBodyRow } from '../table-row'; var rankingStyles = null; var rankingItemStyles = null; var draggableStyles = null; // eslint-disable-next-line @repo/internal/react/require-jsdoc export var RankableTableBodyRow = /*#__PURE__*/forwardRef(function (_ref, ref) { var isRanking = _ref.isRanking, isRankingItem = _ref.isRankingItem, testId = _ref.testId, props = _objectWithoutProperties(_ref, _excluded); return /*#__PURE__*/React.createElement(TableBodyRow, _extends({ ref: ref, testId: testId }, props, { className: ax([isRanking && "_1e0c1ule", isRankingItem && "_2rkolb4i _bfhk1bhr _16qs130s", "_12y3e4h9 _mizu1v1w _ra3xnqa1"]) })); });