11** How to use this template**
22
3- - Put your bindings in ` src/ReactNativeSomething ` & rename accordingly or use
3+ - Put your bindings in ` src/ReactNativeViewPager ` & rename accordingly or use
44 ` bsconfig.json ` ` "namespace" ` field (more on this below),
55- Update all occurences of
66
7- - ` @reason-react-native/__template__ `
8- - ` https://github.com/reason-react-native/__template__ `
9- - ` __template__ `
10- - ` @react-native-community/something `
11- - ` https://github.com/react-native-community/something `
12- - ` ReactNativeSomething ` . If you have more than a file exposed, you should
7+ - ` @reason-react-native/viewpager `
8+ - ` https://github.com/reason-react-native/viewpager `
9+ - ` viewpager `
10+ - ` @react-native-community/viewpager `
11+ - ` https://github.com/react-native-community/react-native-viewpager `
12+ - ` ReactNativeViewPager ` . If you have more than a file exposed, you should
1313 consider using BuckleScript custom namespace by adjusting ` bsconfig.json `
1414 and adding a ` "namespace": "react-native-something" ` (note that it will be
15- converted to ` ReactNativeSomething ` )
15+ converted to ` ReactNativeViewPager ` )
1616
17- - Add your ` @react-native-community/something ` (adjusted) in ` peerDependencies `
17+ - Add your ` @react-native-community/viewpager ` (adjusted) in ` peerDependencies `
1818 & ` devDependencies ` section
1919- Adjust the changelog (and/or clean it)
2020- Remove this part ⬆ & keep everything below ⬇
2121
2222---
2323
24- # ` @reason-react-native/__template__ `
24+ # ` @reason-react-native/viewpager `
2525
26- [ ![ Build Status] ( https://github.com/reason-react-native/__template__ /workflows/Build/badge.svg )] ( https://github.com/reason-react-native/__template__ /actions )
27- [ ![ Version] ( https://img.shields.io/npm/v/@reason-react-native/__template__ .svg )] ( https://www.npmjs.com/@reason-react-native/__template__ )
26+ [ ![ Build Status] ( https://github.com/reason-react-native/viewpager /workflows/Build/badge.svg )] ( https://github.com/reason-react-native/viewpager /actions )
27+ [ ![ Version] ( https://img.shields.io/npm/v/@reason-react-native/viewpager .svg )] ( https://www.npmjs.com/@reason-react-native/viewpager )
2828[ ![ Chat] ( https://img.shields.io/discord/235176658175262720.svg?logo=discord&colorb=blue )] ( https://reasonml-community.github.io/reason-react-native/discord/ )
2929
3030[ ReasonML] ( https://reasonml.github.io ) /
3131[ BuckleScript] ( https://bucklescript.github.io ) bindings for
32- [ ` @react-native-community/something ` ] ( https://github.com/react-native-community/something ) .
32+ [ ` @react-native-community/viewpager ` ] ( https://github.com/react-native-community/react-native-viewpager ) .
3333
34- Exposed as ` ReactNativeSomething ` module.
34+ Exposed as ` ReactNativeViewPager ` module.
3535
36- ` @reason-react-native/__template__ ` X.y._ means it's compatible with
37- ` @react-native-community/something ` X.y._
36+ ` @reason-react-native/viewpager ` X.y._ means it's compatible with
37+ ` @react-native-community/viewpager ` X.y._
3838
3939## Installation
4040
4141When
42- [ ` @react-native-community/something ` ] ( https://github.com/react-native-community/something )
42+ [ ` @react-native-community/viewpager ` ] ( https://github.com/react-native-community/react-native-viewpager )
4343is properly installed & configured by following their installation instructions,
4444you can install the bindings:
4545
4646``` console
47- npm install @reason-react-native/__template__
47+ npm install @reason-react-native/viewpager
4848# or
49- yarn add @reason-react-native/__template__
49+ yarn add @reason-react-native/viewpager
5050```
5151
52- ` @reason-react-native/__template__ ` should be added to ` bs-dependencies ` in your
52+ ` @reason-react-native/viewpager ` should be added to ` bs-dependencies ` in your
5353` bsconfig.json ` . Something like
5454
5555``` diff
@@ -59,7 +59,7 @@ yarn add @reason-react-native/__template__
5959 "reason-react",
6060 "reason-react-native",
6161 // ...
62- + "@reason-react-native/__template__ "
62+ + "@reason-react-native/viewpager "
6363 ],
6464 //...
6565}
@@ -69,13 +69,13 @@ yarn add @reason-react-native/__template__
6969
7070### Types
7171
72- #### ` ReactNativeSomething .t`
72+ #### ` ReactNativeViewPager .t`
7373
7474...
7575
7676### Methods
7777
78- #### ` ReactNativeSomething .method`
78+ #### ` ReactNativeViewPager .method`
7979
8080...
8181
0 commit comments