From 81b2299a02bc5faa8c4fa8cc4bab1c03ecb2e61c Mon Sep 17 00:00:00 2001 From: mehbark Date: Tue, 28 Nov 2023 01:12:14 -0500 Subject: [PATCH] emojis: honestly not bad --- html/emoji-land.tsx | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 html/emoji-land.tsx diff --git a/html/emoji-land.tsx b/html/emoji-land.tsx new file mode 100644 index 0000000..606fe9d --- /dev/null +++ b/html/emoji-land.tsx @@ -0,0 +1,41 @@ +import { Cycle, render_and_copy } from "./common.tsx"; + +const emojis = [ + "🏡", + "🌳", + "🌲", + "🎄", + "🐦", + "🦊", + "🐻", + "🐶", + "🐕", + "🐩", + "🦈", +]; + +const Emoji = ({ children }: { children: string }) =>
{children}
; + +const Cell = () => ( + + + {...emojis.map(e => {e})} + +); + +render_and_copy( +
+ {...Array.from({ length: 49 }, () => )} +
+);