return (
<div className="wrapper"
{(this.state.corbin) ?
<h1>I am a meat popsicle.</h1>
: null}
</div>
);
Last active
September 15, 2016 02:06
-
-
Save trey/f000fdb75d4e35ada260 to your computer and use it in GitHub Desktop.
Conditional Blocks in JSX
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment