import type { ComponentProps, PropsWithChildren } from 'react'
import clsx from 'clsx'
export function InputLabel(props: PropsWithChildren<{ dark: boolean; name: string }>) {
const { dark, name, children } = props
return (
)
}
interface CustomInputProps {
name: string
label: string
dark?: boolean
defaultValue?: string | number | null
}
export function Input(props: CustomInputProps & Omit, 'defaultValue'>) {
const { name, className, dark = false, defaultValue, label, ...attrs } = props
return (
{label}
)
}
export function InputArea(props: CustomInputProps & Omit, 'defaultValue'>) {
const { name, className, dark = false, defaultValue, label, ...attrs } = props
return (
{label}
)
}
export function InputSelect(props: CustomInputProps & ComponentProps<'select'>) {
const { name, className, dark = false, label, ...attrs } = props
return (
{label}
)
}