Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native header

npm i react-native-elements --save
npm i --save react-native-vector-icons
# link
react-native link react-native-vector-icons

import { Header } from 'react-native-elements';

<Header
     leftComponent={{ icon: 'menu', color: '#fff' }}
     centerComponent={{ text: 'MY TITLE', style: { color: '#fff' } }}
      rightComponent={{ icon: 'home', color: '#fff' }}
/>
 
PREVIOUS NEXT
Tagged: #react #native #header
ADD COMMENT
Topic
Name
2+5 =