Norsk Tipping Design System

FlipCard

Install

yarn add @ntds/card

Import

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

Props

PropTypeDefaultDescription
headingstring—Heading for the message
headingLevelHeadingLevel—Give the correct heading level relative to where the message is rendered (typically current level + 1).
contentstring—main content in the card
correctAnswer"true" | "false"—correct answer for the statement possible values are 'true' and 'false'
explanationstring—explains what the correct answer is

On this page