question-thumbnail
v0.0.1arrow_drop_downv0.0.1
STATUS
Passing
DOWNLOADS
38
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
29 KB
1 contributor
Like
Install question-thumbnail as a package?
Copied
npm i @bit/clui.nui-ui.ui.quiz.question-thumbnail
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
Serves as a button that linking to a question in a quiz module.
Import from bit.dev
https://bit.dev/clui/nui-ui/ui/quiz/question-thumbnail
yarn add @bit/clui.nui-ui.ui.quiz.question-thumbnail
import QuestionThumbnail from '@bit/clui.nui-ui.ui.quiz.question-thumbnail';
Props
Below are the props defined for this component:
Name | Type | Default | Description |
---|---|---|---|
bgcolor | ‘gradient-success’ | ‘gradient-error’ | ‘default’ | ‘default’ | - |
className | string | - | - |
imgURL* | string | - | - |
imgAlt | string | - | - |
Properties
Name | Type | Default value |
---|---|---|
bgcolor | "gradient-success"
| "gradient-error"
| "default" | "default" |
className | string | |
imgURL (required) | string | |
imgAlt | string | "Question thumbnail" |