instruction-modal

v0.0.1arrow_drop_down
v0.0.1
STATUS
Passing
DOWNLOADS
26
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
109 KB
1 contributor
Install instruction-modal as a package?
Copied
npm i @bit/clui.nui-ui.ui.challenge.instruction-modal
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
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right

Description

This component is used to display instruction/tutorial modal in a challenge module.

Import from bit.dev

https://bit.dev/clui/nui-ui/ui/challenge/instruction-modal

yarn add @bit/clui.nui-ui.ui.challenge.instruction-modal

import InstructionModal from '@bit/clui.nui-ui.ui.challenge.instruction-modal';

Props

Below are the props defined for this component:

NameTypeDefaultDescription
openboolean--
instructions*Instruction[]--
onClose() => void--

Instruction

NameTypeDefaultDescription
id*number--
html*string--
Properties
NameType
open
boolean
instructions
(required)
Array
onClose
signature
Help and resources