ignore folder

This commit is contained in:
2026-04-21 06:30:48 +07:00
commit ca00b36f19
70 changed files with 3871 additions and 0 deletions

View File

@ -0,0 +1,23 @@
import { ReactNode } from "react";
type Option = { label: string; value: string };
type Props = {
label: string;
children?: ReactNode;
type?: "text" | "password" | "checkbox" | "textarea" | "select";
value?: string | boolean;
onValueChange?: (value: string) => void;
options?: Option[];
placeholder?: string;
rows?: number;
};
export default function FormField({ label, children, type = "text", ...props }: Props) {
return (
<label className="form-label">
{label}
{children}
</label>
);
}