Skip to content

krambuhl/rogain-component-unless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rogain-component-unless

Returns it's children if data to value are not equal. If the <Else /> branch is defined, it will be returned when data and value are equal.

If value is not defined, Unless will have the same behavior as Empty.

<Unless data={loggedIn} value="true"><LoginForm /></Unless>

Attributes

data

Variable or Expression.

value

Variable or Expression. Optional.

Install

With npm do:

npm install rogain-component-unless

License

MIT

About

Rogain <Unless /> helper component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published