"use strict";

import { Text, StyleSheet } from 'react-native';
import { fontFamilies } from '../styles/fonts';
import { jsx as _jsx } from "react/jsx-runtime";
const SectionTitle = ({
  title,
  theme,
  style
}) => {
  const isDarkTheme = theme === 'dark';
  const textColor = isDarkTheme ? '#FFFFFF' : '#000000';
  return /*#__PURE__*/_jsx(Text, {
    style: [styles.sectionTitle, {
      color: textColor
    }, style],
    children: title
  });
};
const styles = StyleSheet.create({
  sectionTitle: {
    fontSize: 16,
    fontWeight: '600',
    fontFamily: fontFamilies.phuduSemiBold,
    marginBottom: 12
  }
});
export default SectionTitle;
//# sourceMappingURL=SectionTitle.js.map