Open LeandroTorresSicilia opened 1 year ago
Some components like input expose method through ref like focus, blur, click, etc, we need to add this interface to ref exposed then when we use it like:
inputRef.current.focus() ... <Input ref={inputRef} />
then inputRef.current.focus() will recognize the properties exposed
inputRef.current.focus()
Some components like input expose method through ref like focus, blur, click, etc, we need to add this interface to ref exposed then when we use it like:
then
inputRef.current.focus()
will recognize the properties exposed