Skip to content

Commit

Permalink
fix(input): error 类型改成 any
Browse files Browse the repository at this point in the history
  • Loading branch information
cncolder committed Apr 17, 2020
1 parent 9628cd1 commit 9aef83d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ export interface InputProps
name?: string
required?: boolean
readOnly?: boolean
error?: string
error?: any
onChange?: _InputProps['onInput']
onFocus?: _InputProps['onFocus']
onBlur?: _InputProps['onBlur']
onClick?(event: ITouchEvent): any
onErrorClick?(error: string): void
onErrorClick?(error: any): void
}

export const Input: React.FC<InputProps> = (props) => {
Expand Down

0 comments on commit 9aef83d

Please sign in to comment.