Browse Source

Added WIP tag and default alert action to unimplemented functionality (#50)

pull/55/head
Adam McQuilkin 4 years ago
committed by GitHub
parent
commit
8b0c404b1f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      src/components/CommandPalette/Index.tsx

17
src/components/CommandPalette/Index.tsx

@ -57,7 +57,7 @@ export interface Group {
export interface Command {
name: string;
icon: (props: React.ComponentProps<"svg">) => JSX.Element;
action?: () => void;
action: () => void;
}
export const CommandPalette = (): JSX.Element => {
@ -135,8 +135,11 @@ export const CommandPalette = (): JSX.Element => {
icon: DevicePhoneMobileIcon,
commands: [
{
name: "Switch Node",
name: "[WIP] Switch Node",
icon: ArrowsRightLeftIcon,
action() {
alert('This feature is not implemented');
},
},
{
name: "Connect New Node",
@ -194,8 +197,11 @@ export const CommandPalette = (): JSX.Element => {
},
},
{
name: "Clear Messages",
name: "[WIP] Clear Messages",
icon: ArchiveBoxXMarkIcon,
action() {
alert('This feature is not implemented');
},
},
],
},
@ -204,8 +210,11 @@ export const CommandPalette = (): JSX.Element => {
icon: WindowIcon,
commands: [
{
name: "Toggle Dark Mode",
name: "[WIP] Toggle Dark Mode",
icon: MoonIcon,
action() {
alert('This feature is not implemented');
},
},
],
},

Loading…
Cancel
Save