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
Composes of React Native's `TextInput` component (i.e. you can pass its props). [See more details](https://facebook.github.io/react-native/docs/textinput)
12
+
Composes React Native's `TextInput`
13
13
14
14
### Usage
15
15
@@ -18,23 +18,44 @@ Composes of React Native's `TextInput` component (i.e. you can pass its props).
18
18
{({ state, setState }) => (
19
19
<TextInput
20
20
value={state.value}
21
-
placeholder="Add your own placeholder"
21
+
placeholder="TextInput"
22
22
size="large"
23
-
isDisabled={false}
24
-
isInvalid={false}
25
-
textContentType="emailAddress"// Enables autofill
26
-
keyboardType="email-address"
27
23
onChangeText={text=>setState({ value: text })}
28
-
onSubmitEditing={e=>console.log('Submit on enter')}
29
24
leftIcon={<Iconname="menu"size={24} />}
30
-
rightIcon={undefined}
31
-
isClearable={true}// Mutually exclusive with rightIcon
25
+
isInvalid={false}
26
+
isClearable// Mutually exclusive with rightIcon
32
27
onClear={() =>console.log('Cleared!')}// Only triggered with `isClearable`
0 commit comments