"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _reactNative = require("react-native");
var _theme = require("../../contexts/theme");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const Title = ({
  children,
  style
}) => {
  const {
    TextTheme
  } = (0, _theme.useTheme)();
  const styles = _reactNative.StyleSheet.create({
    title: {
      ...TextTheme.title
    }
  });
  return /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
    adjustsFontSizeToFit: true,
    style: [styles.title, style]
  }, children);
};
var _default = exports.default = Title;
//# sourceMappingURL=Title.js.map