Closed proudust closed 2 years ago
If you pass React.RefObject<HTMLInputElement> created by React.useRef() etc. to inputRef prop, the error of prop-types will be displayed to console. This PR solves its issue by fixing the definition of prop-types.
React.RefObject<HTMLInputElement>
React.useRef()
If you pass
React.RefObject<HTMLInputElement>
created byReact.useRef()
etc. to inputRef prop, the error of prop-types will be displayed to console. This PR solves its issue by fixing the definition of prop-types.