Conditional Render React Component
npm install rencond-react``sh`
npm install rencond-react
| Attribute | Require? | Description | Type |
| --------- | -------- | ----------- | ---- |
| ComponentIf | Yes | The functional component that would render if the If condition is True | React FC
| ComponentElse | No | The functional component that would render if the If condition is False | React FC
| RenderIf | Yes | Condition used for the render of the component | boolean
| ComponentIfProps | No | Props you can send to the If Component | any
| ComponentElseProps | No | Props you can send to the Else Component | any
js
import RenCond from 'rencond-react'
`
$3
`html import RenCond from 'rencond-react'
ComponentIf={someComponent}
RenderIf={condition}
/>
``