74e2464939
* 2495-fix(front): cmdk removed; custom styles added * 2495-fix(front): search issue fixed * 2495-feat(front): Menu toggle funct added * 2495-fix(front): onclick handler added * 2495-fix(front): Focus with ArrowKeys added; cmdk removed * Remove cmdk * Introduce Selectable list * Improve api * Improve api * Complete refactoring * Fix ui regressions --------- Co-authored-by: Charles Bochet <charles@twenty.com>
16 lines
310 B
TypeScript
16 lines
310 B
TypeScript
import { atom } from 'recoil';
|
|
|
|
import { Command, CommandType } from '../types/Command';
|
|
|
|
export const commandMenuCommandsState = atom<Command[]>({
|
|
key: 'command-menu/commandMenuCommandsState',
|
|
default: [
|
|
{
|
|
id: '',
|
|
to: '',
|
|
label: '',
|
|
type: CommandType.Navigate,
|
|
},
|
|
],
|
|
});
|