Add pointer cursor to expand icon and link zoom-out functionality
This commit is contained in:
7
store/zoomOutState.js
Normal file
7
store/zoomOutState.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// store/zoomOutState.js
|
||||
import { atom } from "recoil";
|
||||
|
||||
export const zoomOutState = atom({
|
||||
key: "zoomOutState", // eindeutiger Key
|
||||
default: 7, // Start-Zoomlevel
|
||||
});
|
||||
7
store/zoomTriggerState.js
Normal file
7
store/zoomTriggerState.js
Normal 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.
|
||||
});
|
||||
Reference in New Issue
Block a user