From 8b41a25c63315d82c3423754fcd15b37755cd9b6 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Mon, 18 Nov 2024 14:40:07 +0100 Subject: [PATCH] chore: add server uploads to pg (#1055) --- playground-v6/components/fieldset.tsx | 35 +++++++++++ playground-v6/components/uploader.tsx | 88 +++++++++++++++++++++------ playground-v6/lib/actions.ts | 37 +++++++++++ playground/components/fieldset.tsx | 35 +++++++++++ playground/components/uploader.tsx | 88 +++++++++++++++++++++------ playground/lib/actions.ts | 37 +++++++++++ 6 files changed, 284 insertions(+), 36 deletions(-) create mode 100644 playground-v6/components/fieldset.tsx create mode 100644 playground/components/fieldset.tsx diff --git a/playground-v6/components/fieldset.tsx b/playground-v6/components/fieldset.tsx new file mode 100644 index 0000000000..c7f04dbac7 --- /dev/null +++ b/playground-v6/components/fieldset.tsx @@ -0,0 +1,35 @@ +import * as React from "react"; +import cx from "clsx"; + +export function Input({ + className, + type, + ...props +}: React.ComponentProps<"input">) { + return ( + + ); +} + +export function Label({ className, ...props }: React.ComponentProps<"label">) { + return ( +