From a5d491256fd058796162ef9e234b7b5fea6b6ef0 Mon Sep 17 00:00:00 2001 From: Jonas Dellinger Date: Thu, 26 May 2022 13:33:25 +0200 Subject: [PATCH] Use new exported components --- src/index.tsx | 47 ++++++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 7d91c6c..bd17cff 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,8 +1,10 @@ import { - Button, + ButtonItem, definePlugin, Menu, MenuItem, + PanelSection, + PanelSectionRow, ServerAPI, showModal, staticClasses, @@ -35,24 +37,31 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => { // }; return ( -
- - -
+ + + + showModal( + {}}> + {}}>Item #1 + {}}>Item #2 + {}}>Item #3 + , + e.currentTarget ?? window + ) + } + > + Server says yolo + + + + +
+ +
+
+
); };