import { TouchableOpacity } from 'react-native';
import { SvgXml } from 'react-native-svg';
import { closeIcon } from '../../../../core/assets/icons/xml';
import { useTheme } from 'react-native-paper';
export default function CloseButton({
  onPress
}) {
  const theme = useTheme();
  return /*#__PURE__*/React.createElement(TouchableOpacity, {
    onPress: onPress
  }, /*#__PURE__*/React.createElement(SvgXml, {
    xml: closeIcon(theme.colors.baseShade2),
    width: 24
  }));
}
//# sourceMappingURL=index.js.map