Skip to content

The open alternative to Salesforce, designed for AI.

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

import { PageLayoutComponentInstanceContext } from './contexts/PageLayoutComponentInstanceContext';

export const pageLayoutEditingWidgetIdComponentState = createAtomComponentState<
  string | null
>({
  key: 'pageLayoutEditingWidgetIdComponentState',
  defaultValue: null,
  componentInstanceContext: PageLayoutComponentInstanceContext,
});