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); }
import { SvgXml } from 'react-native-svg';
import { useAmityElement } from '../../hooks';
import { TouchableOpacity } from 'react-native';
import { ComponentID, ElementID, PageID } from '../../enums';
import { rotate } from '../../../core/assets/icons';
function SwitchCameraButton({
  pageId = PageID.WildCardPage,
  componentId = ComponentID.WildCardComponent,
  ...props
}) {
  const elementId = ElementID.switch_camera_button;
  const {
    accessibilityId,
    themeStyles
  } = useAmityElement({
    pageId,
    componentId,
    elementId
  });
  return /*#__PURE__*/React.createElement(TouchableOpacity, _extends({
    testID: accessibilityId,
    activeOpacity: 0.7
  }, props), /*#__PURE__*/React.createElement(SvgXml, {
    width: 30,
    height: 30,
    xml: rotate(),
    color: themeStyles.colors.background
  }));
}
export default SwitchCameraButton;
//# sourceMappingURL=SwitchCameraButton.js.map