How we can achieve the same behaviour of TextInput multiline prop, using custom input?
Have you tried
...
textInputProps={{
InputComp: Input,
multiline: true
}}
...
All of the textInputProps get passed to the TextInput. If the Input component supports a prop, you can put it in textInputProps.
@bell-steven yeah, that approach is working, later i discovered that documentation was updated about custom input, thanks
Most helpful comment
Have you tried
All of the
textInputPropsget passed to the TextInput. If the Input component supports a prop, you can put it intextInputProps.