Files
shanghai-residences/src/components/index.ts
T
zhongyidian 6e106032fd feat: 更新音频和引导对话,优化用户体验
- 在多个场景中添加音频资源,增强学习互动性。
- 更新引导对话文本,确保信息准确性和一致性。
- 调整组件结构,清理不必要的代码,提升可维护性。
- 引入结束窗口,鼓励用户深入了解历史背景。
2026-01-15 19:30:17 +08:00

99 lines
2.4 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, StudyGuideModal } from "./guide";
// Exhibit overlay
export { ExhibitOverlay } from "./exhibit";
export type { ExhibitOverlayProps } from "./exhibit";
// Overlay component
export { Overlay } from "./overlay";
export type { OverlayProps } from "./overlay";
export { EndingOverlay } from "./overlay";
export type { EndingOverlayProps } 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";
// 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";
// Letter components
export {
LetterToChenyun,
LetterToSunzhongshan,
LetterToHuangyanpei,
LetterToLuxun,
} from "./letter";
export type {
LetterToChenyunProps,
LetterToSunzhongshanProps,
LetterToHuangyanpeiProps,
LetterToLuxunProps,
} from "./letter";
// Puzzle components
export { PuzzleSystem, PuzzlePieceDisplay } from "./puzzle";
export type { PuzzleSystemProps, PuzzlePieceDisplayProps } from "./puzzle";