import React, {FC, ReactNode} from 'react'; import {StyleSheet, View} from 'react-native'; interface HeaderCenterProps { children: ReactNode; } const HeaderCenter: FC = ({children}) => { const styles = themedStyle(); return {children}; }; const themedStyle = () => StyleSheet.create({ centerSection: { ...StyleSheet.absoluteFillObject, justifyContent: 'center', alignItems: 'center', pointerEvents: 'box-none', }, }); export default HeaderCenter;