FlipCard / Dev

Install

yarn add @ntds/card

Import

import { FlipCard } from '@ntds/card';

Props

FlipCard

PropType & 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

This guide is based on version: 6.5.5