afeef8e04a
figma https://www.figma.com/design/xt8O9mFeLl46C5InWwoMrN/Twenty?node-id=93630-365000&t=QesAkY3JOyI9D3UU-0 https://github.com/user-attachments/assets/cf3b354d-0b08-41ae-91ae-386054b5cb2e https://github.com/user-attachments/assets/73bfd676-f823-44c9-a70d-107c20523664 --------- Co-authored-by: Charles Bochet <charles@twenty.com>
12 lines
460 B
TypeScript
12 lines
460 B
TypeScript
import { type CommandMenuPinnedInlineLayout } from '@/command-menu-item/server-items/display/types/CommandMenuPinnedInlineLayout';
|
|
import { createAtomState } from '@/ui/utilities/state/jotai/utils/createAtomState';
|
|
|
|
export const commandMenuPinnedInlineLayoutState =
|
|
createAtomState<CommandMenuPinnedInlineLayout>({
|
|
key: 'commandMenuPinnedInlineLayoutState',
|
|
defaultValue: {
|
|
containerWidth: 0,
|
|
commandMenuItemWidthsByKey: {},
|
|
},
|
|
});
|