import type { InputHTMLAttributes, ReactNode, SelectHTMLAttributes, TextareaHTMLAttributes } from 'react' import { cx } from './cx' export const INPUT_CLASS = 'w-full h-9 px-3 rounded-md bg-surface text-[13px] text-ink caret-accent shadow-input ' + 'placeholder:text-faint disabled:opacity-45 disabled:cursor-not-allowed' export function Field({ label, htmlFor, children }: { label: string; htmlFor: string; children: ReactNode }) { return (
{children}
) } export function Input({ className, ...rest }: InputHTMLAttributes) { return } export function Textarea({ className, ...rest }: TextareaHTMLAttributes) { return