sign-modal
v0.0.8arrow_drop_downv0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
162
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
1 contributor
Like
Install sign-modal as a package?
Copied
npm i @bit/clui.nui-ui.ui.activity.sign-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
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
chevron_left
chevron_right
Description
This component is used to show answer options for DROP_SIGN type of questions.
Import from bit.dev
https://bit.dev/clui/nui-ui/ui/activity/sign-modal
yarn add @bit/clui.nui-ui.ui.activity.sign-modal
import SignModal from '@bit/clui.nui-ui.ui.activity.sign-modal';
Props
Below are the props defined for this component:
Name | Type | Default | Description |
---|---|---|---|
value | number | - | Selected answer ID |
answers* | ActivityAnswer[] | - | - |
open | boolean | - | - |
onClose | () => void | - | - |
onSelect | (answer: ActivityAnswer) => void | - | - |
ActivityAnswer
Name | Type | Default | Description |
---|---|---|---|
id* | number | - | - |
html* | string | - | - |
x | number | - | - |
y | number | - | - |
Properties
Name | Type |
---|---|
answers (required) | Array |
onSelectAnswer | signature |
onClose | signature |
open | boolean |
value | number |