@@ -33,7 +33,10 @@ const App = () => {
>
<Text>Result: </Text>
<TextInput
-
+ title="Bi dene daha bombe."
+ initialValue="dsfsdfdsf"
+ hintText="asfasfasf"
+ isDisabled={false}
/>
<Button
onPress={() => {
@@ -468,13 +468,14 @@ const TextInput: RefForwardingComponent<ITextInputRef, ITextInputProps> = ({
};
return <TouchableOpacity
+ disabled={isDisabled}
style={[
style,
stylesheet.container,
containerDynamicStyle
]}
- inputRef.current?.focus();
+ if(!isDisabled) inputRef.current?.focus();
}}
{renderTitle()}
@@ -150,6 +150,7 @@ const stylesheet = StyleSheet.create({
hintTextIcon: {
},
hintText: {
+ flexDirection: "row",
alignItems: "center",
display: "flex"