added Context
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user