Skip to content

Commit

Permalink
Merge pull request #1 from AlastiSolutions/fix/documentation
Browse files Browse the repository at this point in the history
Fix/documentation
  • Loading branch information
kourosh-alasti authored Dec 21, 2024
2 parents 6310508 + b7ef95f commit 2ef6ec5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
17 changes: 4 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# React Infinite Scroll Component
# React Infinite Scroller Component

A highly customizable, TypeScript-based infinite scroll component for React applications with pull-to-refresh functionality.

Expand All @@ -16,9 +16,9 @@ A highly customizable, TypeScript-based infinite scroll component for React appl
## Installation

```bash
npm install react-infinity-scroll
npm install infinite-scroller-react
# or
yarn add react-infinity-scroll
yarn add infinite-scroller-react
```

## Basic Usage
Expand Down Expand Up @@ -72,7 +72,7 @@ function MyComponent() {
refreshComponent={<div>Pull to refresh...</div>}
onError={handleError}
>
{/* Your content */}
{/* Your children content */}
</InfiniteScroll>
```

Expand Down Expand Up @@ -146,15 +146,6 @@ function MyComponent() {
};
```

## Browser Support

- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- iOS Safari
- Chrome for Android

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.
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": "infinite-scroller-react",
"version": "0.0.1",
"version": "0.0.2",
"description": "A React component for implementing infinite scrolling functionality",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 2ef6ec5

Please sign in to comment.