"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.OptionGroup = OptionGroup;
var _clsx = _interopRequireDefault(require("clsx"));
var _jsxRuntime = require("react/jsx-runtime");
/**
 * External dependencies
 */

/**
 * Internal dependencies
 */

function OptionGroup({
  className,
  options,
  ...additionalProps
}) {
  const role = 'aria-label' in additionalProps || 'aria-labelledby' in additionalProps ? 'group' : undefined;
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
    ...additionalProps,
    role: role,
    className: (0, _clsx.default)('components-circular-option-picker__option-group', 'components-circular-option-picker__swatches', className),
    children: options
  });
}
//# sourceMappingURL=circular-option-picker-option-group.js.map