import { ComponentChildren, JSX } from "preact"; import { Main, render_and_copy } from "./common.tsx"; // don't want to do randomly on since it's not unique anyway const Pixel = ({ color_a, color_b }: { color_a: string; color_b: string }) => (
); const Pixels = ({ n, color_a, color_b, }: { n: number; color_a: string; color_b: string; }) => ( <> {...new Array(n) .fill(null) .map(() => )} ); render_and_copy(
);