Radio Button and Checkbox Created

This commit is contained in:
2025-07-30 23:10:17 -04:00
parent cb8c2c23be
commit f6f77c9d42
29 changed files with 892 additions and 18 deletions

View File

@@ -23,16 +23,16 @@ export default function FileInput({
return (
<div
className="flex flex-row items-center justify-between w-full border-2 rounded-lg"
className={clsx(
"flex flex-row items-center justify-between w-full border-2 rounded-lg",
className
)}
>
<input
ref={inputRef}
id={id}
type="file"
className={clsx(
"sr-only",
className
)}
className="sr-only"
name={name}
onChange={(e) => { setFile(e.target.files?.[0]); onChange?.(e.target.files?.[0]); }}
disabled={disabled}
@@ -76,6 +76,7 @@ export default function FileInput({
className="text-nowrap rounded-r-lg"
rounding="none"
onClick={() => { inputRef.current?.click(); }}
disabled={disabled}
>
Click Me
</SecondaryButton>