"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
var _elements = require("../../../../../elements");
var _native = require("@react-navigation/native");
var _styles = require("./styles");
var _Typography = require("../../../../../../core/components/Typography/Typography");
function Header({
  count,
  total,
  bordered
}) {
  const {
    styles
  } = (0, _styles.useStyles)();
  const navigation = (0, _native.useNavigation)();
  return /*#__PURE__*/React.createElement(_reactNative.View, {
    style: [styles.container, bordered && styles.border]
  }, /*#__PURE__*/React.createElement(_elements.CloseButton, {
    onPress: navigation.goBack
  }), /*#__PURE__*/React.createElement(_elements.Title, null, "Select category"), /*#__PURE__*/React.createElement(_Typography.Typography.Caption, {
    style: styles.categoryCount
  }, count, "/", total));
}
var _default = exports.default = Header;
//# sourceMappingURL=Header.js.map