Most simple components created

This commit is contained in:
2025-07-18 23:30:48 -04:00
commit 5421c2346a
134 changed files with 13805 additions and 0 deletions

28
lib/types/Input.d.ts vendored Normal file
View File

@@ -0,0 +1,28 @@
import type { ChangeEventHandler } from "react";
export interface TextInputProps {
id: string;
className?: string;
inputClassName?: string;
labelClassName?: string;
placeholder?: string;
defaultValue?: string;
value?: string;
onChange?: ChangeEventHandler<HTMLInputElement>;
disabled?: boolean;
}
export interface SelectInputProps {
label: React.ReactNode;
value?: string;
onChange?: (newVlaue: string) => void;
children: React.ReactNode;
}
export interface OptionInputProps {
id?: string;
className?: string;
value: string;
children: React.ReactNode;
}