From a102083a0460fcf2dc1786b1b761abeb2d0f2c91 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 4 Jul 2023 20:26:45 +0100 Subject: [PATCH] feat: change mobile editor icons --- src/components/dashboard/OptionsButton.tsx | 75 +++++++++++----------- 1 file changed, 37 insertions(+), 38 deletions(-) diff --git a/src/components/dashboard/OptionsButton.tsx b/src/components/dashboard/OptionsButton.tsx index 2d1f0762..fea7341a 100644 --- a/src/components/dashboard/OptionsButton.tsx +++ b/src/components/dashboard/OptionsButton.tsx @@ -45,21 +45,53 @@ export const OptionsButton = ({ onClick={() => renderPage(!isRendering)} > {isRendering ? ( - + ) : ( - + )} + + {({ open, close }) => ( +
+ { + // setIsOpen(true) + // }} + > +
+ +
+
+ + +
+ {propertiesWidget} +
+
+
+
+ )} +
{({ open, close }) => { return ( <> -
+
{open ? ( - + ) : ( - + )}
@@ -162,39 +194,6 @@ export const OptionsButton = ({ ) }}
- - - {({ open, close }) => ( -
- { - // setIsOpen(true) - // }} - > -
- -
-
- - -
- {propertiesWidget} -
-
-
-
- )} -
) }