UNPKG

@atlaskit/table-tree

Version:

A table tree is an expandable table for showing nested hierarchies of information.

30 lines • 1.1 kB
/* common-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 = ["indent", "width", "className"]; import "./common-cell.compiled.css"; import * as React from 'react'; import { ax, ix } from "@compiled/react/runtime"; var commonStyles = null; /** * __Common cell__ */ var CommonCell = function CommonCell(_ref) { var indent = _ref.indent, width = _ref.width, className = _ref.className, props = _objectWithoutProperties(_ref, _excluded); return /*#__PURE__*/React.createElement("div", _extends({ role: "gridcell" // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop , className: ax(["_1yt412f9 _11c8fhey _1e0c1txw _vchhusvi _1tke1ylp _kqswh2mm _4cvr1h6o _syazi7uo _ct361wug _1nmz1hna", className]) // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props }, props, { style: { '--indent': indent, width: width } })); }; export default CommonCell;