React Conditionals
Conditional components for React using JSX - Demo
Examples
If else
<If => <Then> You can drink in the UK! </Then> <Else> You drink in the UK... </Else></If>
Note: This can also be used without an else component
If without an else
<If => <Then> thisstateerrors </Then></If>