{
position: "relative",
width: "100%",
display: "flex",
- justifyContent: "center",
- margin: "3rem 0",
+ flexWrap: "wrap",
+ justifyContent: "space-evenly",
+ margin: "2rem 0",
...style,
}}
>
-
+ >
+
+ {variant === "react" ? (
+ Stack && (
+
+ )
+ ) : (
+
+ )}
+
+ {
+ {
+ react: "React",
+ solid: "Solid",
+ }[variant]
+ }
+
+ ))}
);
};
diff --git a/docs/components/SolidDemoRenderer.server.tsx b/docs/components/SolidDemoRenderer.server.tsx
new file mode 100644
index 00000000..ac6c97f9
--- /dev/null
+++ b/docs/components/SolidDemoRenderer.server.tsx
@@ -0,0 +1,3 @@
+const SolidDemoRenderer: React.FC = () =>