Skip to content

Commit 5ee30aa

Browse files
committed
publish: 1.0.5
1 parent 524b908 commit 5ee30aa

File tree

6 files changed

+18
-14
lines changed

6 files changed

+18
-14
lines changed

examples/App.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,15 @@ class App extends React.PureComponent {
3434
return (
3535
<View style={{ flex: 1, backgroundColor: "#eee" }}>
3636
<ScrollView>
37+
<View style={{
38+
marginVertical: 60
39+
}}><Text style={{
40+
fontSize: 20
41+
}}>Examples:</Text></View>
3742
<ScrollIndicator
3843
indicatorBgPadding={6}
3944
viewBoxStyle={{
4045
alignItems: "center",
41-
marginTop: 60
4246
}}
4347
indicatorBackgroundStyle={{
4448
height: 4,

examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"react": "16.13.1",
1414
"react-native": "0.63.2",
15-
"react-native-custom-scroll-indicator": "^1.0.1"
15+
"react-native-custom-scroll-indicator": "^1.0.3"
1616
},
1717
"devDependencies": {
1818
"@babel/core": "^7.8.4",

examples/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#
1+
# react-native-custom-scroll-indicator examples
22

33
## 使用 / Usage
44

55
```bash
6-
yarn ios
6+
yarn & yarn ios
77

88
# yarn start # second
99
```

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"name": "react-native-custom-scroll-indicator",
3-
"version": "1.0.2",
3+
"version": "1.0.5",
44
"main": "src/index.tsx",
55
"description": "react native custom indicator",
66
"author": "Jevons",
77
"keywords": [
88
"react native",
9-
"react native indicator"
9+
"react native indicator",
10+
"react-native-custom-scroll-indicator"
1011
],
1112
"license": "ISC"
1213
}

readme.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,21 @@
66
77
## Installation / 安装
88

9-
10-
11-
9+
```bash
10+
yarn add react-native-custom-scroll-indicator
11+
```
1212

1313
## Example
1414

1515

1616

1717

18-
1918
## Usage / 使用
2019

20+
```tsx
21+
import ScrollIndicator from "react-native-custom-scroll-indicator";
22+
```
23+
2124
General / 基础使用
2225

2326
```tsx

src/index.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
import ScrollIndicator, { IIndicator } from "./Indicator";
22

3-
export type {
4-
IIndicator
5-
};
6-
73
export default ScrollIndicator;

0 commit comments

Comments
 (0)