Skip to content

sdivelbiss/IF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iffyjiffy

Simple IF React Component for conditional rendering

Using npm:

$ npm i iffyjiffy

Using yarn:

$ yarn add iffyjiffy

Use:

import IF | { IF } from 'iffyjiffy';

<IF condition={true|false}>
    <ConditionallyRenderedChild />
</IF>