Skip to content

Commit

Permalink
change coveralls badge url
Browse files Browse the repository at this point in the history
  • Loading branch information
stevesims committed May 3, 2018
1 parent 264c1a1 commit fcb1839
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ A data sorting component that uses render props.
[npm-badge]: https://img.shields.io/npm/v/react-sort-data.png?style=flat-square
[npm]: https://www.npmjs.org/package/react-sort-data

[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
[coveralls-badge]: https://coveralls.io/repos/github/stevesims/react-sort-data/badge.svg?branch=master
[coveralls]: https://coveralls.io/github/stevesims/react-sort-data?branch=master

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

0 comments on commit fcb1839

Please sign in to comment.