import { View } from 'react-native';
import { Title } from '../../../../../elements';
import { useNavigation } from '@react-navigation/native';
import { useStyles } from './styles';
import BackButton from '../../../../../elements/BackButton';
function Header() {
  const {
    styles
  } = useStyles();
  const navigation = useNavigation();
  return /*#__PURE__*/React.createElement(View, {
    style: styles.container
  }, /*#__PURE__*/React.createElement(BackButton, {
    onPress: navigation.goBack
  }), /*#__PURE__*/React.createElement(Title, {
    numberOfLines: 1,
    ellipsizeMode: "tail",
    style: styles.title
  }, "Notifications"), /*#__PURE__*/React.createElement(View, {
    style: styles.dummy
  }));
}
export default Header;
//# sourceMappingURL=Header.js.map