Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import React from "react";
import { StyleSheet, Text, View } from "react-native";
const styles = StyleSheet.create({
layout: {
backgroundColor: "rgb(255, 192, 16)",
paddingLeft: 8,
paddingRight: 8,
},
wrapper: {
padding: 16,
},
text: {
color: "rgba(48, 48, 48)"
}
});
export default function Styling() {
return (
<View style={styles.layout}>
<View style={styles.wrapper}>
<Text style={styles.text}>Hello world</Text>
</View>
</View>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.