Skip to content

Instantly share code, notes, and snippets.

@mfrachet
Last active September 26, 2017 10:16
Show Gist options
  • Save mfrachet/aa50aad50beb111563782c3150deb3d3 to your computer and use it in GitHub Desktop.
Save mfrachet/aa50aad50beb111563782c3150deb3d3 to your computer and use it in GitHub Desktop.
RN EU
const AlterNativeView = ({ isDisplayed }) => (
<View>
<Text>Hello</Text>
<Text style={{ display: isDisplayed ? "flex" : "none" }}>World</Text>
</View>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment