ternate
v1.0.0
Published
simple function which can be used to write better readable conditional statement with react jsx
Downloads
3
Readme
What is this?
ternate is simple function which can be used to write better readable conditional statement with react jsx
#Installation
npm install ternate --save
Example...
import ternate from 'ternate';
ternate(this.state.loading === true, <Loader>, ()=> {return <App/>;})