diff --git a/web/src/components/ui/input.tsx b/web/src/components/ui/input.tsx index 31f76e7..015d5fb 100644 --- a/web/src/components/ui/input.tsx +++ b/web/src/components/ui/input.tsx @@ -1,19 +1,12 @@ -import type { FC } from "react"; +import type { FC, InputHTMLAttributes } from "react"; -interface InputProps { - id: string; - type: string; - placeholder?: string; - className?: string; -} +type InputProps = InputHTMLAttributes; -export const Input: FC = ({ id, type, placeholder, className }) => { +export const Input: FC = ({ className, ...props }) => { return (