export function Field({ label, hint, error, children, htmlFor }) {
return (
{label && (
)}
{children}
{error ? (
{error}
) : hint ? (
{hint}
) : null}
);
}
export function Input({ error, className = "", ...props }) {
return (
);
}
export function Textarea({ error, mono, className = "", ...props }) {
return (
);
}
export function Select({ className = "", children, ...props }) {
return (
);
}
export function Checkbox({ label, checked, onChange, ...props }) {
return (
);
}