"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = CloseButton;
var _reactNative = require("react-native");
var _reactNativeSvg = require("react-native-svg");
var _xml = require("../../../../core/assets/icons/xml");
var _reactNativePaper = require("react-native-paper");
function CloseButton({
  onPress
}) {
  const theme = (0, _reactNativePaper.useTheme)();
  return /*#__PURE__*/React.createElement(_reactNative.TouchableOpacity, {
    onPress: onPress
  }, /*#__PURE__*/React.createElement(_reactNativeSvg.SvgXml, {
    xml: (0, _xml.closeIcon)(theme.colors.baseShade2),
    width: 24
  }));
}
//# sourceMappingURL=index.js.map