Skip to content

Instantly share code, notes, and snippets.

@brunosabot
Created September 12, 2020 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunosabot/e9aa6cf67dccfacf71c2989efb01f448 to your computer and use it in GitHub Desktop.
Save brunosabot/e9aa6cf67dccfacf71c2989efb01f448 to your computer and use it in GitHub Desktop.
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