diff --git a/src/components/common/input.tsx b/src/components/common/input.tsx index cc2bc7a..f947059 100644 --- a/src/components/common/input.tsx +++ b/src/components/common/input.tsx @@ -7,10 +7,10 @@ type Props = { type?: React.HTMLInputTypeAttribute, placeholder: string, icon?: React.ReactNode, - other?: any + field?: any } -export const Input: FC = ({ placeholder, type = "text", icon, other }) => { +export const Input: FC = ({ placeholder, type = "text", icon, field }) => { const [hidden, setHidden] = useState(false) const handleHidden = () => setHidden(prev => !prev) return ( @@ -20,7 +20,7 @@ export const Input: FC = ({ placeholder, type = "text", icon, other }) => !hidden ? : : icon} -