Norsk Tipping Design System

FlipCard

Install

yarn add @ntds/card

Import

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

Props

PropTypeDefaultDescription
headingstringHeading for the message
headingLevelHeadingLevelGive the correct heading level relative to where the message is rendered (typically current level + 1).
contentstringmain content in the card
correctAnswer"true" | "false"correct answer for the statement possible values are 'true' and 'false'
explanationstringexplains what the correct answer is

On this page