@atlaskit/dynamic-table
Version:
A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.
22 lines (21 loc) • 860 B
JavaScript
/* head.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", "testId"];
import "./head.compiled.css";
import * as React from 'react';
import { ax, ix } from "@compiled/react/runtime";
/* eslint-disable @repo/internal/react/require-jsdoc */
var rankingStyles = null;
var headStyles = null;
export var Head = function Head(_ref) {
var isRanking = _ref.isRanking,
testId = _ref.testId,
props = _objectWithoutProperties(_ref, _excluded);
return /*#__PURE__*/React.createElement("thead", _extends({
"data-testid": testId
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
}, props, {
className: ax(["_179rglyw", isRanking && "_1e0c1ule"])
}));
};