Skip to content

Instantly share code, notes, and snippets.

@brunosabot

brunosabot/StylingSheet.jsx Secret

Created Sep 12, 2020
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)"
},
text: {
color: "rgba(48, 48, 48)"
}
});
export default function Styling() {
return (
<View style={styles.layout}>
<Text style={styles.text}>Hello world</Text>
</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.