Norsk Tipping Design System

CharityEntrance

Install

yarn add @ntds/charity

Import

import { CharityEntrance } from '@ntds/charity';

Props

PropTypeDefaultDescription
image?{ src: string; alt: string; }Placed at the top of the card image src url and alt-text must be provided
childrenReactNodechild elements of CharityEntry
footer?ReactNodePlaced after the content at the bottom. Will always be visible. Typically this place is used to show logo and/or call to action buttons.
link?{ url: string; label: string; }Entrance card link
linkComponent?ComponentType<LinkComponent>The component to use for rendering links. Typically, this is a React Router Link component and only needs to be set in OmniWeb since the links are SPA-links inside OmniWeb. If not defined (default), the component will render a regular anchor tag.

On this page