Created
May 17, 2018 09:29
-
-
Save Swiip/25d0f1a4327e872e9b73f0f86bc42e73 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import styled from "styled-components"; | |
const StyledView = styled.View` | |
background-color: papayawhip; | |
`; | |
const StyledText = styled.Text` | |
color: palevioletred; | |
`; | |
class MyReactNativeComponent extends React.Component { | |
render() { | |
return ( | |
<StyledView> | |
<StyledText>Hello World!</StyledText> | |
</StyledView> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment