answer-button

v0.0.1arrow_drop_down
v0.0.1
STATUS
Passing
DOWNLOADS
38
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
29 KB
1 contributor
Install answer-button as a package?
Copied
npm i @bit/clui.nui-ui.ui.challenge.answer-button
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

Serves as a answer button in a question in a challenge module.

Import from bit.dev

https://bit.dev/clui/nui-ui/ui/challenge/answer-button

yarn add @bit/clui.nui-ui.ui.challenge.answer-button

import AnswerButton from '@bit/clui.nui-ui.ui.challenge.answer-button';

Props

Below are the props defined for this component:

NameTypeDefaultDescription
isActive*boolean--
disabledboolean--
isCorrectboolean--
onClick(event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void--
Help and resources