The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { NAVIGATION_DRAWER_CONSTRAINTS } from '@/ui/navigation/navigation-drawer/constants/NavigationDrawerConstraints';
import { createAtomState } from '@/ui/utilities/state/jotai/utils/createAtomState';
export const NAVIGATION_DRAWER_WIDTH_VAR = '--navigation-drawer-width';
export const navigationDrawerWidthState = createAtomState<number>({
key: 'navigationDrawerWidth',
defaultValue: NAVIGATION_DRAWER_CONSTRAINTS.default,
useLocalStorage: true,
});