React Component to make the Conditional Render look Elegant.
A Cleaner, Better way of writing conditional statements in React.
yarn add react-decide
<Decide>
<If condition={false}>
// Render on If Condition
</If>
<ElseIf condition={() => {
//Do Something
return false;
}}>
// Render on ElseIf Condition
</ElseIf>
<Else>
// Render on Else Condition
</Else>
</Decide>