Skip to content

Commit

Permalink
Updates for build and coverage info
Browse files Browse the repository at this point in the history
  • Loading branch information
stevesims committed May 3, 2018
1 parent 9b15def commit 1c8cf13
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ A data sorting component that uses render props.
[![npm package][npm-badge]][npm]
[![Coveralls][coveralls-badge]][coveralls]

[build-badge]: https://img.shields.io/travis/user/repo/master.png?style=flat-square
[build]: https://travis-ci.org/user/repo
[build-badge]: https://img.shields.io/travis/stevesims/react-sort-data/master.png?style=flat-square
[build]: https://travis-ci.org/stevesims/react-sort-data

[npm-badge]: https://img.shields.io/npm/v/npm-package.png?style=flat-square
[npm]: https://www.npmjs.org/package/npm-package
[npm]: https://www.npmjs.org/package/react-sort-data

[coveralls-badge]: https://img.shields.io/coveralls/user/repo/master.png?style=flat-square
[coveralls]: https://coveralls.io/github/user/repo
[coveralls-badge]: https://img.shields.io/coveralls/stevesims/react-sort-data/master.png?style=flat-square
[coveralls]: https://coveralls.io/github/stevesims/react-sort-data

Data sorting by this component intended primarily for sorting arrays of objects using string values of given keys. Provide the component with an array of `data` objects, and an array of `field` definitions (with one indicated as being the `default`) and you'll get back a sorted `data` array. A field definition may also contain a `sort` function, which should take a `reversed` argument and return back a function that can be used with `Array.sort`.

Expand Down
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,13 @@
"react": "^16.3.2",
"react-dom": "^16.3.2"
},
"author": "",
"homepage": "",
"author": "Steve Sims",
"homepage": "https://github.com/stevesims/react-sort-data#readme",
"license": "MIT",
"repository": "",
"repository": {
"type": "git",
"url": "git+https://github.com/stevesims/react-sort-data"
},
"keywords": [
"react-component"
]
Expand Down

0 comments on commit 1c8cf13

Please sign in to comment.