NewscoutHomeHeader.js 557 B

123456789101112131415161718192021222324
  1. import { StyleSheet, Text, TouchableWithoutFeedback, View } from 'react-native'
  2. import React from 'react'
  3. import NewscoutLogo from '../../molecules/NewscoutLogo'
  4. import fonts from '../../../theme/fonts'
  5. import Header from '../../atoms/Header'
  6. const NewscoutHomeHeader = ({ children }) => {
  7. return (
  8. <Header >
  9. <NewscoutLogo style={styles.headerLogo} />
  10. {children}
  11. </Header>
  12. )
  13. }
  14. export default NewscoutHomeHeader
  15. const styles = StyleSheet.create({
  16. headerLogo: {
  17. height: fonts.getSize(64),
  18. width: fonts.getSize(64)
  19. },
  20. })