Files
shanghai-residences/src/components/index.ts
T

82 lines
2.0 KiB
TypeScript

// Video component
export { default as Video } from "./video";
export type { VideoProps, VideoRef, VideoAnchor, AnchorContext } from "./video";
// Button components
export { Button, ImageButton } from "./button";
export type { BaseButtonProps, ImageButtonProps } from "./button";
// Image component
export { Image } from "./image";
export type { ImageProps } from "./image";
// Title
export { Title } from "./title";
// Guide components
export { GuideSteps, GuideStepsItem } from "./guide";
// Exhibit overlay
export { ExhibitOverlay } from "./exhibit";
export type { ExhibitOverlayProps } from "./exhibit";
// Overlay component
export { Overlay } from "./overlay";
export type { OverlayProps } from "./overlay";
// Spotlight component
export { Spotlight } from "./spotlight";
// Quiz panel components
export {
QuizPanel,
SingleChoiceQuizPanel,
MultipleChoiceQuizPanel,
} from "./layout/quiz";
export type {
QuizPanelProps,
SingleChoiceQuizPanelProps,
MultipleChoiceQuizPanelProps,
} from "./layout/quiz";
//Cursor
export { default as Cursor } from "@/components/cursor";
// Quiz components
export { SingleChoice, MultipleChoice, DragFill } from "./quiz";
export type {
SingleChoiceProps,
SingleChoiceOption,
MultipleChoiceProps,
MultipleChoiceOption,
DragFillProps,
DragFillOption,
DragFillBlank,
DragFillResult,
} from "./quiz";
// Narration component
export { Narration } from "./narration";
export type { NarrationProps } from "./narration";
// Toast component
export { toast, Toast, useToast, ToastProvider } from "./toast";
export type {
ToastType,
ToastPosition,
ToastOptions,
ToastInstance,
} from "./toast";
// Game components
export { BambooPuzzleGame } from "./game";
export type { BambooPuzzleGameProps } from "./game";
// Clue components
export { ClueHintModal, ClueBookModal } from "./clue";
export type { ClueHintModalProps, ClueHint, ClueBookModalProps } from "./clue";
// Animation components
export { flyToAnimation } from "./animation";
export type { FlyToAnimationOptions, FlyToPosition } from "./animation";