import React from 'react'; import {StyleSheet, Text, View, ViewProps} from 'react-native'; import {normalize, SCREEN_WIDTH} from '../../utils'; interface IndividualMomentTitleBarProps extends ViewProps { title: string; } const IndividualMomentTitleBar: React.FC = ({ title, }) => { return ( 18 ? normalize(14) : normalize(16), }, ]}> {title} ); }; const styles = StyleSheet.create({ title: { textAlign: 'center', color: 'white', fontSize: normalize(18), fontWeight: '700', lineHeight: normalize(21.48), letterSpacing: normalize(1.3), }, titleContainer: { width: '80%', position: 'absolute', left: '10%', right: '10%', height: normalize(70), }, mainContainer: { flex: 1, width: SCREEN_WIDTH * 0.6, flexDirection: 'row', justifyContent: 'flex-end', marginVertical: '2%', }, }); export default IndividualMomentTitleBar;