1 contributor
Like
Install store as a package?
Copied
npm i @bit/clui.nui-ui.store
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
chevron_left
chevron_right
Description
Redux is a state container for JavaScript apps, often called a Redux store. It stores the whole state of the app in an immutable object tree. To create a store for your application, import StoreProvider
and wrap it ouside your application.
Import from bit.dev
https://bit.dev/clui/nui-ui/store
yarn add @bit/clui.nui-ui.store
import { StoreProvider, goToStep, resetSteps, initSteps } from '@bit/clui.nui-ui.store';
Available functions
Steps
Name | Description |
---|---|
initSteps() | - |
resetSteps() | - |
goToStep(id: string) | - |
scrollToStep(id: string) | - |
Activity
Name | Description |
---|---|
initActivity() | - |
addSubmittedActivityQuestion(submittedQuestion: SubmittedActivityQuestion) | - |
getActivityResult() | - |
getActivityQuestions() | - |