"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.TablePlaceholderStates = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _react = _interopRequireDefault(require("react"));
var _mobxReactLite = require("mobx-react-lite");
var _ToolbarCollectionContext = require("../ToolbarCollectionContext");
var _TableSkeleton = require("../TableSkeleton/TableSkeleton");
var _PlaceholderStatesBase = require("../PlaceholderStates/PlaceholderStatesBase");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/TablePlaceholderStates/TablePlaceholderStates.tsx";
function _TablePlaceholderStates(props) {
  const state = (0, _ToolbarCollectionContext.useToolbarCollectionContext)();
  return /*#__PURE__*/_react.default.createElement(_PlaceholderStatesBase.PlaceholderStatesBase, (0, _extends2.default)({
    loadingState: /*#__PURE__*/_react.default.createElement(_TableSkeleton.TableSkeleton, {
      dataHook: "placeholder-states-loading-state",
      state: state,
      rowVerticalPadding: props.rowVerticalPadding,
      showTitleBar: props.showTitleBar,
      __self: this,
      __source: {
        fileName: _jsxFileName,
        lineNumber: 35,
        columnNumber: 9
      }
    })
  }, props, {
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 33,
      columnNumber: 5
    }
  }));
}
const TablePlaceholderStates = exports.TablePlaceholderStates = (0, _mobxReactLite.observer)(_TablePlaceholderStates);
//# sourceMappingURL=TablePlaceholderStates.js.map