import { View } from 'react-native';
import { useNavigation } from '@react-navigation/native';
import BackButton from '../../../../../elements/BackButton';
import Title from '../../../../../elements/Title';
import { PageID } from '../../../../../enums';
import { useStyles } from './styles';
export function TopBar({
  count
}) {
  const {
    styles
  } = useStyles();
  const navigation = useNavigation();
  return /*#__PURE__*/React.createElement(View, {
    style: styles.container
  }, /*#__PURE__*/React.createElement(BackButton, {
    pageId: PageID.user_pending_follow_request_page,
    onPress: navigation.goBack
  }), /*#__PURE__*/React.createElement(Title, {
    style: styles.title
  }, `Follow requests (${count})`), /*#__PURE__*/React.createElement(View, {
    style: styles.dummy
  }));
}
//# sourceMappingURL=TopBar.js.map