import type { InputHTMLAttributes, TextareaHTMLAttributes } from "react";
const field =
"block w-full rounded-md bg-surface-1 border border-border " +
"text-fg placeholder:text-fg-subtle " +
"focus:border-accent-400 focus:outline-none " +
"disabled:opacity-50 transition-colors";
export function Input({
className = "",
...rest
}: InputHTMLAttributes) {
return ;
}
export function Textarea({
className = "",
rows = 6,
...rest
}: TextareaHTMLAttributes) {
return (
);
}
export function Label({
htmlFor,
children,
hint,
}: {
htmlFor?: string;
children: React.ReactNode;
hint?: string;
}) {
return (
);
}