diff --git a/components/Header.tsx b/components/Header.tsx new file mode 100644 index 0000000..604fe83 --- /dev/null +++ b/components/Header.tsx @@ -0,0 +1,29 @@ +import React from 'react'; +import { View, Text, StyleSheet } from 'react-native'; +import { COLORS, FONTS } from '../constants/theme'; + +interface HeaderProps { + title: string; +} + +export const Header: React.FC = ({ title }) => { + return ( + + {title} + + ); +}; + +const styles = StyleSheet.create({ + container: { + backgroundColor: COLORS.primary, + padding: 20, + paddingTop: 50, + alignItems: 'center', + }, + title: { + fontSize: FONTS.large, + fontWeight: 'bold', + color: COLORS.card, + }, +}); \ No newline at end of file