Skip to content

The open alternative to Salesforce, designed for AI.

539 B
Raw Blame
import { createAtomComponentState } from '@/ui/utilities/state/jotai/utils/createAtomComponentState';

import { type PageLayoutDraggedArea } from '@/page-layout/types/PageLayoutDraggedArea';
import { PageLayoutComponentInstanceContext } from './contexts/PageLayoutComponentInstanceContext';

export const pageLayoutDraggedAreaComponentState =
  createAtomComponentState<PageLayoutDraggedArea>({
    key: 'pageLayoutDraggedAreaComponentState',
    defaultValue: null,
    componentInstanceContext: PageLayoutComponentInstanceContext,
  });