lume/packages/utils/src/state.ts
2024-01-08 20:18:07 +07:00

12 lines
212 B
TypeScript

import { atom } from "jotai";
export const editorAtom = atom(false);
export const editorValueAtom = atom([
{
type: "paragraph",
children: [{ text: "" }],
},
]);
export const onboardingAtom = atom(false);