mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 16:34:54 +00:00
9 lines
478 B
TypeScript
9 lines
478 B
TypeScript
import { atom } from 'jotai';
|
|
import {CalendarEvent} from "@/components/pages/calendar/interfaces";
|
|
|
|
export const editVisibleAtom = atom<boolean>(false);
|
|
export const eventForEditAtom = atom<CalendarEvent | undefined>(undefined);
|
|
export const isFamilyViewAtom = atom<boolean>(false);
|
|
export const modeAtom = atom<"week" | "month" | "day">("week");
|
|
export const selectedDateAtom = atom<Date>(new Date());
|
|
export const selectedNewEventDateAtom = atom<Date | undefined>(undefined); |