"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.CollectionViewsDropdown = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _react = _interopRequireDefault(require("react"));
var _ToolbarCollectionContext = require("../ToolbarCollectionContext");
var _CollectionViewsDropdownBase = require("./CollectionViewsDropdownBase");
var _setViewsState = require("../../state/setViewsState");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/CollectionViewsDropdown/CollectionViewsDropdown.tsx";
const CollectionViewsDropdown = props => {
  const toolbar = (0, _ToolbarCollectionContext.useToolbarCollectionContext)();
  return /*#__PURE__*/_react.default.createElement(_CollectionViewsDropdownBase.CollectionViewsDropdownBase, (0, _extends2.default)({
    toolbar: toolbar
  }, props, {
    __self: void 0,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 22,
      columnNumber: 10
    }
  }));
};
exports.CollectionViewsDropdown = CollectionViewsDropdown;
CollectionViewsDropdown.setViewsState = _setViewsState.setViewsState;
CollectionViewsDropdown.displayName = 'CollectionViewsDropdown';
//# sourceMappingURL=CollectionViewsDropdown.js.map