inital commit, very early alpha stage

This commit is contained in:
2026-06-30 13:38:24 +02:00
parent f5530ad336
commit 70cf1a84ca
72 changed files with 14074 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
import type { InputHTMLAttributes, ReactNode, TextareaHTMLAttributes } from "react";
type Props = {
label: string;
children: ReactNode;
};
export function FormRow({ label, children }: Props) {
return (
<label className="form-row">
<span>{label}</span>
{children}
</label>
);
}
export function TextInput(props: InputHTMLAttributes<HTMLInputElement>) {
return <input className="input" {...props} />;
}
export function TextArea(props: TextareaHTMLAttributes<HTMLTextAreaElement>) {
return <textarea className="input textarea" {...props} />;
}