Skip to content

Commit

Permalink
Chore: update list of file that shouldn't be packed
Browse files Browse the repository at this point in the history
  • Loading branch information
codenaz committed Mar 13, 2019
1 parent 09c933a commit 2caa07d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.git
.vscode
src
webpack.*
.babelrc
.eslintrc
.prettierrc
.history
package-lock.json
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# React Hooks Paginator

![demo](./animate.gif)

A library for adding simple paginator functionality to your react app.

Requires react >= 16.8.\*
Requires react >= 16.8.0

## Installation

Expand All @@ -15,7 +16,7 @@ Run the following command:
```javascript
import React from 'react';
import ReactDOM from 'react-dom';
import Paginator from 'react-paginator';
import Paginator from 'react-hooks-paginator';

function App() {
const [offset, setOffset] = React.useState(0);
Expand Down Expand Up @@ -56,7 +57,7 @@ export default App;
```javascript
import React from 'react';
import ReactDOM from 'react-dom';
import Paginator from 'paginator';
import Paginator from 'react-hooks-paginator';
import { fetchData } from './data-fetcher';

function App() {
Expand Down

0 comments on commit 2caa07d

Please sign in to comment.