"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
var _compose = require("@wordpress/compose");
var _dropdownMenu = _interopRequireDefault(require("../../dropdown-menu"));
var _style = _interopRequireDefault(require("./style.scss"));
var _jsxRuntime = require("react/jsx-runtime");
/**
 * External dependencies
 */

/**
 * WordPress dependencies
 */

/**
 * Internal dependencies
 */

function ToolbarGroupCollapsed({
  controls = [],
  getStylesFromColorScheme,
  passedStyle,
  ...props
}) {
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
    style: [getStylesFromColorScheme(_style.default.container, _style.default.containerDark), passedStyle],
    children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_dropdownMenu.default, {
      controls: controls,
      ...props
    })
  });
}
var _default = exports.default = (0, _compose.withPreferredColorScheme)(ToolbarGroupCollapsed);
//# sourceMappingURL=toolbar-group-collapsed.native.js.map