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
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,8 +84,8 @@ It does not need any library setup to work, just [install](#install-with-react-n
84
84
But, if you need some configuration, there are some options available. (with default values)
85
85
86
86
```js
87
-
import { Platform } from 'react-native
88
-
import KeyboardManager from 'react-native-keyboard-manager'
87
+
import { Platform } from 'react-native';
88
+
import KeyboardManager from 'react-native-keyboard-manager';
89
89
90
90
if (Platform.OS === 'ios') {
91
91
KeyboardManager.setEnable(true);
@@ -123,21 +123,21 @@ If you want to use Next/Previous buttons inside a `Modal`, you need to wrap the
123
123
class App extends Component {
124
124
render() {
125
125
return (
126
-
<View ... >
126
+
<View {...} >
127
127
// others views
128
-
<Modal ... >
128
+
<Modal {...} >
129
129
// others views
130
130
<PreviousNextView style={...} >
131
131
// all TextInput
132
132
</PreviousNextView>
133
133
</Modal>
134
134
</View>
135
-
)
135
+
);
136
136
}
137
137
}
138
138
```
139
139
140
-
For more details, see the [Sample Project](https://github.com/douglasjunior/react-native-keyboard-manager/blob/master/Sample/index.ios.js) and the official [IQKeyboardManager documentation](https://github.com/hackiftekhar/IQKeyboardManager/wiki/).
140
+
For more details, see the [Sample Project](https://github.com/douglasjunior/react-native-keyboard-manager/blob/master/Sample/App.js) and the official [IQKeyboardManager documentation](https://github.com/hackiftekhar/IQKeyboardManager/wiki/).
0 commit comments