Skip to content

The open alternative to Salesforce, designed for AI.

423 B
Raw Blame
import { createAtomComponentState } from '@/ui/utilities/state/jotai/utils/createAtomComponentState';
import { ViewComponentInstanceContext } from '@/views/states/contexts/ViewComponentInstanceContext';

export const isViewBarExpandedComponentState =
  createAtomComponentState<boolean>({
    key: 'isViewBarExpandedComponentState',
    defaultValue: true,
    componentInstanceContext: ViewComponentInstanceContext,
  });