Complete os espaços em branco arrastando e soltando as opções disponíveis:
import { Text, View, StyleSheet, Image } from 'react-native';
export default function AssetExample() {
return (
<View style={styles. (a) }>
<Text style={styles. (b) }>
Arquivos e ativos locais podem ser importados arrastando e soltando-os
no editor
</Text>
<Image style={styles.logo} source={require('../assets/snack-icon.png')} />
</View>
);
}
const styles = (c) .create({
container: {
alignItems: ' center',
justifyContent: 'center',
padding: 24,
},
paragraph: {
margin: 24,
marginTop: 0,
fontSize: 14,
fontWeight: 'bold',
textAlign: ' (d) ',
},
(e) : {
height: 128,
width: 128,
},
});