import { StyleSheet, Text, TouchableOpacity, View } from 'react-native' import React from 'react' import Header from '../../atoms/Header' import fonts from '../../../theme/fonts' import colors from '../../../theme/colors' import FeatherIcon from 'react-native-vector-icons/dist/Feather' const NewscoutTitleHeader = ({ title, titleStyle, children, backButtonShown, onBackClick }) => { return (
{backButtonShown === true && backButtonShown !== undefined ? : } {title ?? "Title"} {children}
) } export default NewscoutTitleHeader const styles = StyleSheet.create({ title: { fontFamily: fonts.type.regular, fontSize: fonts.getSize(16), color: colors.black, }, titleContainer:{ flexDirection:'row', } })