quiz-result-card

v0.0.2arrow_drop_down
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
14
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
1 contributor
Install quiz-result-card as a package?
Copied
npm i @bit/clui.nui-ui.ui.quiz.quiz-result-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
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 show quiz result in a quiz module.

Import from bit.dev

https://bit.dev/clui/nui-ui/ui/quiz/quiz-result-card

yarn add @bit/clui.nui-ui.ui.quiz.quiz-result-card

import StarBadge from '@bit/clui.nui-ui.ui.quiz.quiz-result-card';

Props

Below are the props defined for this component:

NameTypeDefaultDescription
htmlstring-
passTextstring-
failTextstring-
questionsQuizQuestion[]-
quizResultQuizResult[]-
onThumbnailClickfunction-
onContinuefunction-
onContinuefunction-
Properties
NameTypeDefault value
passText
(required)
string
failText
(required)
string
questions
Array[]
questionResults
Array[]
quizResult
(required)
QuizResult
onThumbnailClick
signature
onContinue
signature
onPractice
signature
Help and resources