Migrate to a monorepo structure (#2909)
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
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,
|
||||
},
|
||||
],
|
||||
});
|
||||
@ -0,0 +1,6 @@
|
||||
import { atom } from 'recoil';
|
||||
|
||||
export const isCommandMenuOpenedState = atom({
|
||||
key: 'command-menu/isCommandMenuOpenedState',
|
||||
default: false,
|
||||
});
|
||||
Reference in New Issue
Block a user