Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
v0.1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Smith authored and Andrew Smith committed Oct 23, 2019
1 parent ae6dd06 commit 37dc848
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 675 deletions.
4 changes: 1 addition & 3 deletions example/src/basic-example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ function MyPager() {
{`Number of screens: ${children.length}`}
</Text>

<Pager activeIndex={activeIndex} onChange={onChange}>
{children}
</Pager>
<Pager>{children}</Pager>

<NavigationButtons activeIndex={activeIndex} onChange={onChange} />
</View>
Expand Down
2 changes: 1 addition & 1 deletion example/src/shared-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function Slide() {
backgroundColor: colors[index % colors.length],
}}>
<Text>{`Screen: ${index}`}</Text>
{/* <Text>{`Focused: ${focused}`}</Text> */}
<Text>{`Focused: ${focused}`}</Text>
{/* <TextInput placeholder="Test Update" />
<Text>{`Count: ${count}`}</Text>
<Button title="Inc" onPress={() => setCount(count + 1)} /> */}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@crowdlinker/react-native-pager",
"version": "0.1.16",
"version": "0.1.17",
"main": "dist/index.js",
"module": "dist/pager.esm.js",
"typings": "dist/index.d.ts",
Expand Down
Loading

0 comments on commit 37dc848

Please sign in to comment.