Skip to content

Safe and thin wrapper for React when you need to use Penis.js

License

Notifications You must be signed in to change notification settings

nipatiitti/condomjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CondomJS

Safe and thin wrapper component for React when you need to use Penis.js

If B==D (or B===D with isHard prop) it will render the Children otherwise it will render nothing

Installation

Use npm or yarn to install CondomJS.

npm install condomjs

or

yarn add condomjs

Usage

Basic usage:

import Condom from 'condomjs'

<Condom D={1} B={'1'} isHard >
    <Children />
</Condom>

API:

Name Type Required Default
D Object no
B Object no
ishard  bool no  false
children node / [node] no ' '

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Giant Penis License (GPL)

About

Safe and thin wrapper for React when you need to use Penis.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published