Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
R
react-pull-to-refresh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jason.yap
react-pull-to-refresh
Commits
095c6fbe
Commit
095c6fbe
authored
Aug 22, 2022
by
Dmitriy Derepko
Committed by
GitHub
Aug 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: Improve readme styles (#37)
parent
59755fa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
README.md
README.md
+13
-7
No files found.
README.md
View file @
095c6fbe
...
...
@@ -14,12 +14,16 @@ Pull to refresh with react
## Demo
[
See the demo in action at https://echoulen.github.io/react-pull-to-refresh/
](
https://echoulen.github.io/react-pull-to-refresh/
)
## installation
`npm install react-js-pull-to-refresh --save`
## Installation
```
bash
npm
install
react-js-pull-to-refresh
--save
```
or
`yarn add react-js-pull-to-refresh`
```
bash
yarn add react-js-pull-to-refresh
```
## Props
|Name|Type|Required
...
...
@@ -35,18 +39,18 @@ or
## Usage
###
# i
mport PullToRefresh
###
I
mport PullToRefresh
```
js
import
{
PullToRefresh
}
from
"
react-js-pull-to-refresh
"
;
```
###
# i
mport default content (optional)
###
I
mport default content (optional)
```
typescript
import
{
PullDownContent
,
ReleaseContent
,
RefreshContent
}
from
"
react-js-pull-to-refresh
"
;
```
###
#
Sample
### Sample
```
jsx
<
PullToRefresh
pullDownContent
=
{
<
PullDownContent
/>
}
...
...
@@ -68,4 +72,6 @@ import {PullDownContent, ReleaseContent, RefreshContent} from "react-js-pull-to-
[
Link
](
https://github.com/echoulen/react-pull-to-refresh/blob/master/examples/Basic.tsx
)
## Contributing
`npm run dev`
```
bash
npm run dev
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment