* Proof of concept ComponentState * Migrate to createState and createFamilyState * Refactor * Fix * Fix tests * Fix lint * Fix tests * Re-enable coverage
16 lines
361 B
TypeScript
16 lines
361 B
TypeScript
import { createState } from '@/ui/utilities/state/utils/createState';
|
|
|
|
import { Command, CommandType } from '../types/Command';
|
|
|
|
export const commandMenuCommandsState = createState<Command[]>({
|
|
key: 'command-menu/commandMenuCommandsState',
|
|
defaultValue: [
|
|
{
|
|
id: '',
|
|
to: '',
|
|
label: '',
|
|
type: CommandType.Navigate,
|
|
},
|
|
],
|
|
});
|