questions-card
v0.0.2arrow_drop_downv0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
16
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
1 contributor
Like
Install questions-card as a package?
Copied
npm i @bit/clui.nui-ui.ui.quiz.questions-card
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
The questions card where user can select a specific question to continue.
Import from bit.dev
https://bit.dev/clui/nui-ui/ui/quiz/questions-card
yarn add @bit/clui.nui-ui.ui.quiz.questions-card
import QuestionsCard from '@bit/clui.nui-ui.ui.quiz.questions-card';
Props
Below are the props defined for this component:
Name | Type | Default | Description |
---|---|---|---|
html | string | - | - |
questions | QuizQuestion[] | - | - |
onThumbnailClick | function | - | - |
QuizQuestion
Name | Type | Default | Description |
---|---|---|---|
id | number | - | - |
imgURL | string | - | - |
imgAlt | string | - | - |
status | string | - | - |
type | string | - | - |
html | string | - | - |
answers | QuizAnswer[] | - | - |
Properties
Name | Type | Default value |
---|---|---|
html | string | |
questions | Array | [] |
questionResults | Array | [] |
onThumbnailClick | signature |