From 17b209d29e8f5c0465d10dbc2ad93e0e00c340bf Mon Sep 17 00:00:00 2001 From: tolluset Date: Tue, 30 Jan 2024 02:28:54 +0900 Subject: [PATCH 1/4] chore: add basicy layout --- src/components/ui/BasicLayout.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/components/ui/BasicLayout.tsx diff --git a/src/components/ui/BasicLayout.tsx b/src/components/ui/BasicLayout.tsx new file mode 100644 index 0000000..4c80a67 --- /dev/null +++ b/src/components/ui/BasicLayout.tsx @@ -0,0 +1,13 @@ +import React from "react"; + +export default async function BasicLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( +
+ {children} +
+ ); +} From d4f38f5c27ee2f8f06851bbd660e820cd2c2fab8 Mon Sep 17 00:00:00 2001 From: tolluset Date: Tue, 30 Jan 2024 02:29:04 +0900 Subject: [PATCH 2/4] chore: add textarea --- src/components/ui/textarea.tsx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/components/ui/textarea.tsx diff --git a/src/components/ui/textarea.tsx b/src/components/ui/textarea.tsx new file mode 100644 index 0000000..44f6dc0 --- /dev/null +++ b/src/components/ui/textarea.tsx @@ -0,0 +1,24 @@ +import * as React from "react" + +import { cn } from "~/lib/utils" + +export interface TextareaProps + extends React.TextareaHTMLAttributes {} + +const Textarea = React.forwardRef( + ({ className, ...props }, ref) => { + return ( +