Add pointer cursor to expand icon and link zoom-out functionality

This commit is contained in:
ISA
2024-04-29 08:33:10 +02:00
parent ff12901b11
commit 8f4552c259
6 changed files with 90 additions and 51 deletions

7
store/zoomOutState.js Normal file
View File

@@ -0,0 +1,7 @@
// store/zoomOutState.js
import { atom } from "recoil";
export const zoomOutState = atom({
key: "zoomOutState", // eindeutiger Key
default: 7, // Start-Zoomlevel
});

View File

@@ -0,0 +1,7 @@
// store/zoomTriggerState.js
import { atom } from "recoil";
export const zoomTriggerState = atom({
key: "zoomTriggerState",
default: 0, // Dies kann eine einfache Zählvariable sein, die inkrementiert wird.
});