Skip to content

Commit

Permalink
remove number type
Browse files Browse the repository at this point in the history
  • Loading branch information
Brokyeom committed Nov 20, 2024
1 parent 85dc185 commit e6810f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/Input/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface TextFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'va
value?: string;
// isError -> validationFn 순서로 적용
isError?: boolean;
validationFn?: (input: string | number) => boolean;
validationFn?: (input: string) => boolean;
}

const TextField = forwardRef<HTMLInputElement, TextFieldProps>((props, ref) => {
Expand Down

0 comments on commit e6810f0

Please sign in to comment.