23 lines
376 B
JavaScript
23 lines
376 B
JavaScript
import { atom } from 'recoil'
|
|
|
|
/*
|
|
* id: uuid
|
|
* component: Popup Component
|
|
* */
|
|
export const popupState = atom({
|
|
key: 'popupState',
|
|
default: {
|
|
children: [],
|
|
},
|
|
dangerouslyAllowMutability: true,
|
|
})
|
|
|
|
export const contextPopupPositionState = atom({
|
|
key: 'contextPopupPositionState',
|
|
default: {
|
|
x: 50,
|
|
y: 180,
|
|
},
|
|
dangerouslyAllowMutability: true,
|
|
})
|