add gitignore
This commit is contained in:
commit
500b003189
28 files changed
+9731
No files matched your search
@@ -0,0 +1,31 @@
|
||||
import { Text, View, StyleSheet, Image } from 'react-native';
|
||||
|
||||
export default function AssetExample() {
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Text style={styles.paragraph}>
|
||||
Local files and assets can be imported by dragging and dropping them into the editor
|
||||
</Text>
|
||||
<Image style={styles.logo} source={require('../assets/snack-icon.png')} />
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
padding: 24,
|
||||
},
|
||||
paragraph: {
|
||||
margin: 24,
|
||||
marginTop: 0,
|
||||
fontSize: 14,
|
||||
fontWeight: 'bold',
|
||||
textAlign: 'center',
|
||||
},
|
||||
logo: {
|
||||
height: 128,
|
||||
width: 128,
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user