"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactNativeSvg = require("react-native-svg");
var _hooks = require("../../hooks");
var _reactNative = require("react-native");
var _enums = require("../../enums");
var _icons = require("../../../core/assets/icons");
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
function SwitchCameraButton({
  pageId = _enums.PageID.WildCardPage,
  componentId = _enums.ComponentID.WildCardComponent,
  ...props
}) {
  const elementId = _enums.ElementID.switch_camera_button;
  const {
    accessibilityId,
    themeStyles
  } = (0, _hooks.useAmityElement)({
    pageId,
    componentId,
    elementId
  });
  return /*#__PURE__*/React.createElement(_reactNative.TouchableOpacity, _extends({
    testID: accessibilityId,
    activeOpacity: 0.7
  }, props), /*#__PURE__*/React.createElement(_reactNativeSvg.SvgXml, {
    width: 30,
    height: 30,
    xml: (0, _icons.rotate)(),
    color: themeStyles.colors.background
  }));
}
var _default = exports.default = SwitchCameraButton;
//# sourceMappingURL=SwitchCameraButton.js.map