You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to get the proper type for creating a ref for <Input>, I currently need to import the type from import { InputComponent } from '@ui-kitten/components/ui/input/input.component'.
To Reproduce
Steps to reproduce the behavior: const inputRef = React.useRef<InputComponent>(null)
Expected behavior
InputComponent should be exported from the @ui-kitten/components. Is this fixed in 5.x?
Link to runnable example or repository (highly encouraged)
@garrett-gottlieb still an issue in v5. I have some ideas to make it work in a correct way so we can get rid of InputComponent using only Input, but it requires another breaking change, affecting a styled hoc.
Thinking to implement in alpha.2 for all components.
🐛 Bug Report
In order to get the proper type for creating a ref for
<Input>
, I currently need to import the type fromimport { InputComponent } from '@ui-kitten/components/ui/input/input.component'
.To Reproduce
Steps to reproduce the behavior:
const inputRef = React.useRef<InputComponent>(null)
Expected behavior
InputComponent
should be exported from the@ui-kitten/components
. Is this fixed in 5.x?Link to runnable example or repository (highly encouraged)
UI Kitten and Eva version
Environment information
The text was updated successfully, but these errors were encountered: