This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Analytics from '@react-native-firebase/analytics'; | |
import {View,Text, TouchableOpacity, TouchableHighlight} from 'react-native'; | |
import Analytics from 'appcenter-analytics'; | |
export default App(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {View,Text, TouchableOpacity, TouchableHighlight} from 'react-native'; | |
import Analytics from 'appcenter-analytics'; | |
export default App(){ | |
const __OnBuyButtonPressed=()=>{ | |
Analytics.trackEvent('Purchase', { price: '9.99', type: 'cloth' }); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {View,Text} from 'react-native' | |
import { withTheme } from 'react-native-paper'; | |
const CardTitle = ({theme})=>{ | |
return ( | |
<View> | |
<Text style={{ | |
fontSize:theme.fonts.regular, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { DefaultTheme, Provider as PaperProvider } from 'react-native-paper'; | |
import Home from '/home' | |
const theme = { | |
colors: { | |
primary: '#90eee1', | |
accent: '#6356e5', | |
}, | |
fonts:{ | |
regular:16, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# copyright https://github.com/FaridSafi/react-native-gifted-chat | |
import {GiftedChat} from 'react-native-gifted-chat'; | |
import React, {useCallback,useState} from 'react'; | |
const App: () => React$Node = () => { | |
const [messages, setMessages] = React.useState([]); | |
React.useEffect(() => { | |
setMessages([ | |
{ | |
_id: 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import LottieView from 'lottie-react-native'; | |
<LottieView | |
source={require('./images/lottie-af-animation.json')} | |
loop | |
autoPlay | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {SvgXml} from 'react-native-svg'; | |
import SVGImage from './images/undraw_happy_2021_h01d.svg'; | |
const App: () => React$Node = () => { | |
return ( | |
<> | |
<View style={styles.container}> | |
<StatusBar barStyle="dark-content" /> | |
<SafeAreaView> | |
<ScrollView> | |
<SvgXml width="200" height="200" xml={SVGImage} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { | |
SafeAreaView, | |
StyleSheet, | |
ScrollView, | |
TouchableOpacity, | |
View, | |
Text, | |
StatusBar, | |
} from 'react-native'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* | |
* @format | |
* @flow strict-local | |
*/ | |
import React from 'react'; | |
import { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { | |
SafeAreaView, | |
StyleSheet, | |
ScrollView, | |
View, | |
Text, | |
StatusBar, | |
TouchableHighlight, | |
} from 'react-native'; |
NewerOlder