From a37e3935e755f9a7f1a81e51d9fee696cac681c2 Mon Sep 17 00:00:00 2001 From: sowgro Date: Tue, 14 Jan 2025 16:40:02 -0500 Subject: rewrite icon system to cache better --- extension/src/components/BMEditor.tsx | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'extension/src/components/BMEditor.tsx') diff --git a/extension/src/components/BMEditor.tsx b/extension/src/components/BMEditor.tsx index 4ebdaa2..b97d21f 100644 --- a/extension/src/components/BMEditor.tsx +++ b/extension/src/components/BMEditor.tsx @@ -3,6 +3,7 @@ import CloseIcon from "../assets/close.svg?react" import {ActiveEdit} from "./Body.tsx"; import {getBrowser} from "../main.tsx"; import RadioButtonGroup from "./RadioButtonGroup.tsx"; +import BMIcon from "./BMIcon.tsx"; function BMEditor() { @@ -48,20 +49,21 @@ function BMEditor() {

Icon

Found on the site

- {/*{ iconOptions &&*/} - {/* {*/} - {/* return { props: {*/} - {/* value: s,*/} - {/* children: ()*/} - {/* }}*/} - {/* }*/} - {/* )}*/} - {/*/>}*/} +
+ { iconOptions && + // + + ) + // /> + } +

From Google

- +
+ +

Custom

-

TODO

+ )} ); -- cgit v1.2.3