"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.MenuGroup = void 0;

var _react = _interopRequireDefault(require("react"));

var _primitives = require("../../primitives");

var _theme = require("../../../theme");

var _TouchableItem = require("./TouchableItem");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const MenuGroup = ({
  title,
  children
}) => {
  const newProps = (0, _theme.usePropsConfig)('MenuGroup', {});
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_TouchableItem.TouchableItem, {
    activeOpacity: 1,
    underlayColor: 'transparent'
  }, /*#__PURE__*/_react.default.createElement(_primitives.Text, newProps, title)), children);
};

exports.MenuGroup = MenuGroup;
//# sourceMappingURL=MenuGroup.js.map