added Context

This commit is contained in:
Gavin McDonald
2025-06-25 17:04:18 -04:00
parent 59aa904c5a
commit e7ebb0223b
6 changed files with 75 additions and 16 deletions

View File

@@ -103,3 +103,14 @@ export interface Layout {
name: string;
text: string;
}
export interface Tilt {
cardID: string;
rotateX: number;
rotateY: number;
}
export interface AppContext {
tilts: Tilt[];
setTilts: (tilts: Tilt[]) => void;
}