This commit is contained in:
parent
6f7b821c8b
commit
3a5b0bdcbc
162 changed files with 15801 additions and 224 deletions
11
FRONT/DEV/src/store/pannableStore.ts
Normal file
11
FRONT/DEV/src/store/pannableStore.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import {create} from 'zustand';
|
||||
|
||||
interface FlowState {
|
||||
isPanDisabled: boolean;
|
||||
toggleEditingMode: () => void;
|
||||
}
|
||||
|
||||
export const usePannableStore = create<FlowState>((set) => ({
|
||||
isPanDisabled: false,
|
||||
toggleEditingMode: () => set((state) => ({ isPanDisabled: !state.isPanDisabled })),
|
||||
}));
|
||||
Loading…
Add table
Add a link
Reference in a new issue