FlipCard
Install
yarn add @ntds/cardImport
import { FlipCard } from '@ntds/card';Props
| Prop | Type | Default | Description |
|---|---|---|---|
heading | string | — | Heading for the message |
headingLevel | HeadingLevel | — | Give the correct heading level relative to where the message is rendered (typically current level + 1). |
content | string | — | main content in the card |
correctAnswer | "true" | "false" | — | correct answer for the statement possible values are 'true' and 'false' |
explanation | string | — | explains what the correct answer is |