Skip to content

Instantly share code, notes, and snippets.

@reime005
Last active January 23, 2021 00:57
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 reime005/3b0edb9b283362ae8492b387a3bae523 to your computer and use it in GitHub Desktop.
Save reime005/3b0edb9b283362ae8492b387a3bae523 to your computer and use it in GitHub Desktop.
// example.tsx
const Example = () => {
const { testValue, env } = useConfig();
return (
<View>
<Text>{testValue}</Text>
{/* 42 */}
<Text>{JSON.stringify(env)}</Text>
{/* { SOME_API_KEY: 4242a4123frdfvsdcv } */}
</View>
);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment