"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
var _fonts = require("../styles/fonts");
var _jsxRuntime = require("react/jsx-runtime");
const SectionTitle = ({
  title,
  theme,
  style
}) => {
  const isDarkTheme = theme === 'dark';
  const textColor = isDarkTheme ? '#FFFFFF' : '#000000';
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
    style: [styles.sectionTitle, {
      color: 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