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 { Pressable, View } from 'react-native';
import { SvgXml } from 'react-native-svg';
import { close } from '../../../../../core/assets/icons';
import { useStyles } from './styles';
export function Header(props) {
  const {
    styles,
    theme
  } = useStyles();
  return /*#__PURE__*/React.createElement(View, {
    style: styles.header
  }, /*#__PURE__*/React.createElement(Pressable, _extends({
    style: styles.closeButton,
    hitSlop: 8
  }, props), /*#__PURE__*/React.createElement(SvgXml, {
    width: 24,
    height: 24,
    xml: close(),
    color: theme.colors.base
  })));
}
//# sourceMappingURL=Header.js.map