useState
Import
Usage
Methods
Constructor(states) : Constructor
State name whose value is true is the default state.
Name | Type | Description |
---|---|---|
states | {[stateName]: boolean} OR {[stateNameSpace]:{[stateName]:boolean}} | List of imported fields |