UNPKG

@oxyhq/services

Version:

Reusable OxyHQ module to handle authentication, user management, karma system, device-based session management and more 🚀

29 lines (28 loc) • 689 B
"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