import React from 'react'; import {TouchableOpacity} from 'react-native'; import {Text, View, StyleSheet, ViewProps} from 'react-native'; import CloseIcon from '../../assets/ionicons/close-outline.svg'; 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: 'center', height: '5%', }, header: { fontSize: 20, fontWeight: 'bold', color: 'white', }, closeButton: { position: 'absolute', height: '50%', aspectRatio: 1, left: '3%', }, }); export default IndividualMomentTitleBar;