Skip to content

Commit 85c7a70

Browse files
authored
docs: prefer import to require (#546)
1 parent fc0c064 commit 85c7a70

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,6 @@ If you are using RN >= 0.60, only run `npx pod-install`. Then rebuild your proje
117117
import DateTimePicker from '@react-native-community/datetimepicker';
118118
```
119119

120-
or
121-
122-
```js
123-
const DateTimePicker = require('@react-native-community/datetimepicker');
124-
```
125-
126120
### Basic usage with state
127121

128122
```js

0 commit comments

Comments
 (0)