Created
July 5, 2019 09:52
-
-
Save FreddyPoly/85c18aab8a1ac8f1ea5f15762375fe1a to your computer and use it in GitHub Desktop.
[REACT NATIVE] Env Var Usage Example
This file contains hidden or 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 * as React from "react" | |
import { View, Text } from "react-native" | |
import * as env from "../../environment-variables" | |
export class ComponentTest extends React.Component<{}, {}> { | |
render() { | |
return ( | |
<View> | |
<Text> | |
{ env.ENV_VAR_TEST } | |
</Text> | |
</View> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment