import React from 'react';
import { View, Text, useColorScheme } from 'react-native';
import { Colors } from 'react-native/Libraries/NewAppScreen';

import styles from '../styles/stylesheet';

const Header = () => {
  const isDarkMode = useColorScheme() === 'dark';

  return (
    <View style={styles.headerContainer}>
      <Text
        style={[
          styles.headerText,
          {color: isDarkMode ? Colors.light : Colors.dark},
        ]}>
        Laconic Wallet
      </Text>
    </View>
  );
};

export { Header };
