"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
var _fonts = require("../styles/fonts");
var _useColorScheme = require("../hooks/use-color-scheme");
var _themeUtils = require("../utils/themeUtils");
var _useThemeStyles = require("../hooks/useThemeStyles");
var _jsxRuntime = require("react/jsx-runtime");
const SectionTitle = ({
  title,
  theme,
  style
}) => {
  const colorScheme = (0, _themeUtils.normalizeColorScheme)((0, _useColorScheme.useColorScheme)(), theme);
  const themeStyles = (0, _useThemeStyles.useThemeStyles)(theme || colorScheme, colorScheme);
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
    style: [styles.sectionTitle, {
      color: themeStyles.textColor
    }, style],
    children: title
  });
};
const styles = _reactNative.StyleSheet.create({
  sectionTitle: {
    fontSize: 16,
    fontWeight: '600',
    fontFamily: _fonts.fontFamilies.phuduSemiBold,
    marginBottom: 12
  }
});
var _default = exports.default = SectionTitle;
//# sourceMappingURL=SectionTitle.js.map