diff --git a/html/common.tsx b/html/common.tsx
index cd1f5ac..ae9383e 100644
--- a/html/common.tsx
+++ b/html/common.tsx
@@ -50,3 +50,8 @@ export const render_and_copy = (elem: VNode) => {
writeText(rendered);
console.log(rendered);
};
+
+export const mk_class_wrapper =
+ (klass: string) =>
+ ({ children }: { children: ComponentChildren }) =>
+
{...toChildArray(children)}
{...toChildArray(children)}
@@ -12,9 +12,14 @@ const Portrait = ({ href, alt }: { href: string; alt: string }) => (
);
+const Wiggle = ({ children }: { children: ComponentChildren }) => (
+
{...toChildArray(children)}
+);
+
const PortraitFrame = ({ children }: { children: ComponentChildren }) => (
-
{children}
+
+
{children}
);
@@ -29,7 +34,7 @@ const PortraitFrame = ({ children }: { children: ComponentChildren }) => (
// i'll probably go for a different ui element
render_and_copy(
- press [rmb] to AWESOMESAUCE
+ press [rmb] to open browser context menu