Skip to main content

TourCardProps

Props for TourCard.

This is an interface exported by @mapcairn/map, checked against version 0.2.0.

Signature​

import type { TourCardProps } from "@mapcairn/map";

interface TourCardProps

Properties​

ending​

readonly ending: TourCardCopy;

The ending, after the last step.

tour​

readonly tour: UseTour;

The tour state and actions from useTour.

welcome​

readonly welcome: TourCardCopy & {
readonly announcement: DefinitionText;
};

The welcome card, offered on a first visit.

See also​

Source: packages/map/src/tools/Tour/TourCard.tsx:30