|
|
@ -8,7 +8,7 @@ import {
|
|
|
|
PanelSectionRow,
|
|
|
|
PanelSectionRow,
|
|
|
|
Router,
|
|
|
|
Router,
|
|
|
|
ServerAPI,
|
|
|
|
ServerAPI,
|
|
|
|
showModal,
|
|
|
|
showContextMenu,
|
|
|
|
staticClasses,
|
|
|
|
staticClasses,
|
|
|
|
} from "decky-frontend-lib";
|
|
|
|
} from "decky-frontend-lib";
|
|
|
|
import { VFC } from "react";
|
|
|
|
import { VFC } from "react";
|
|
|
@ -43,7 +43,7 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => {
|
|
|
|
<ButtonItem
|
|
|
|
<ButtonItem
|
|
|
|
layout="below"
|
|
|
|
layout="below"
|
|
|
|
onClick={(e) =>
|
|
|
|
onClick={(e) =>
|
|
|
|
showModal(
|
|
|
|
showContextMenu(
|
|
|
|
<Menu label="Menu" cancelText="CAAAANCEL" onCancel={() => {}}>
|
|
|
|
<Menu label="Menu" cancelText="CAAAANCEL" onCancel={() => {}}>
|
|
|
|
<MenuItem onSelected={() => {}}>Item #1</MenuItem>
|
|
|
|
<MenuItem onSelected={() => {}}>Item #1</MenuItem>
|
|
|
|
<MenuItem onSelected={() => {}}>Item #2</MenuItem>
|
|
|
|
<MenuItem onSelected={() => {}}>Item #2</MenuItem>
|
|
|
|