___ _ _ ____ ____ ____ _ ____ _ _ ____ _ _ ___ ____
| | | | | [__ |___ | |___ |\/| |___ |\ | | [__
| \/ |__| ___] |___ |___ |___ | | |___ | \| | ___]
React Native Basic Elements for tvOS
Prerequisites
- Install
react-native-vector-icons
Note: You must manually add vector icons into your project
Installation
npm install --save react-native-tvos-elements
Example
;;; <Props> { return <View style=stylescontainer> <TvOSButton txtStyleFocused=color:'green' title='Steam' titleAlign='left' iconType='Ionicons' iconName='ios-person' /> <TvOSButton title='Bitcoin' titleAlign='right' iconAlign='left' iconType='FontAwesome' iconName='btc' /> <TvOSButton txtStyleFocused=color:'red' txtStyleUnfocused=color:'black' title='Settings' /> <TvOSButton title='Ethereum' iconType='MaterialCommunityIcons' iconName='ethereum' /> </View> ; }