mirror of
https://ghproxy.com/https://github.com/StreakingMan/solvable-sheep-game
synced 2025-08-03 09:46:07 +08:00
21 lines
358 B
TypeScript
21 lines
358 B
TypeScript
import { ReactNode } from 'react';
|
|
|
|
export interface Icon<T = string> {
|
|
name: string;
|
|
content: ReactNode;
|
|
clickSound: T;
|
|
tripleSound: T;
|
|
}
|
|
|
|
interface Sound<T = string> {
|
|
name: T;
|
|
src: string;
|
|
}
|
|
|
|
export interface Theme<SoundNames> {
|
|
name: string;
|
|
bgm?: string;
|
|
icons: Icon<SoundNames>[];
|
|
sounds: Sound<SoundNames>[];
|
|
}
|