Skip to content

Commit 33b5bc4

Browse files
committed
README
1 parent 63d8814 commit 33b5bc4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ It does not need any library setup to work, just [install](#install-with-react-n
8484
But, if you need some configuration, there are some options available. (with default values)
8585
8686
```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';
8989
9090
if (Platform.OS === 'ios') {
9191
KeyboardManager.setEnable(true);
@@ -123,21 +123,21 @@ If you want to use Next/Previous buttons inside a `Modal`, you need to wrap the
123123
class App extends Component {
124124
render() {
125125
return (
126-
<View ... >
126+
<View {...} >
127127
// others views
128-
<Modal ... >
128+
<Modal {...} >
129129
// others views
130130
<PreviousNextView style={...} >
131131
// all TextInput
132132
</PreviousNextView>
133133
</Modal>
134134
</View>
135-
)
135+
);
136136
}
137137
}
138138
```
139139
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/).
141141
142142
## Contribute
143143

0 commit comments

Comments
 (0)