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.
With npm do:
npm install rogain-component-unless
MIT