import React from 'react'; import { StyleSheet, Text, TouchableOpacity, View, ViewProps, } from 'react-native'; import CloseIcon from '../../assets/ionicons/close-outline.svg'; import {normalize} from '../../utils'; interface IndividualMomentTitleBarProps extends ViewProps { title: string; close: () => void; } const IndividualMomentTitleBar: React.FC = ({ title, close, style, }) => { return ( {title} ); }; const styles = StyleSheet.create({ container: { flexDirection: 'row', alignItems: 'center', justifyContent: 'flex-start', }, headerContainer: { width: '80%', }, header: { textAlign: 'center', color: 'white', fontSize: normalize(18), fontWeight: '700', lineHeight: normalize(21.48), letterSpacing: normalize(1.3), }, closeButton: { height: '50%', aspectRatio: 1, left: '8%', }, }); export default IndividualMomentTitleBar;