Skip to content

Commit 21f5e6f

Browse files
committed
docs: fix & update badges (#99)
- update/fix "build status" badge according to Shields directions - remove old `nodei.co` badge - doesn't always load and isn't very useful anymore - removing it from all of my NPM projects - also change Installation to a codeblock instead of just backticks - easier to read as a block and easier to copy (full horizontal length) - and more consistent too (cherry picked from commit cb09cf7) - removed typings badge (v1.0.x isn't in TS) - changed badge branches to point to `v1.0.x`
1 parent 1bdd116 commit 21f5e6f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@
1515
[![dm](https://img.shields.io/npm/dm/react-signature-canvas.svg)](https://npmjs.org/package/react-signature-canvas)
1616
[![dw](https://img.shields.io/npm/dw/react-signature-canvas.svg)](https://npmjs.org/package/react-signature-canvas)
1717
<br><!-- status / activity -->
18-
[![build status](https://img.shields.io/github/workflow/status/agilgur5/react-signature-canvas/CI/main)](https://github.com/agilgur5/react-signature-canvas/actions/workflows/ci.yml?query=branch%3Amain)
19-
[![code coverage](https://img.shields.io/codecov/c/gh/agilgur5/react-signature-canvas/main.svg)](https://codecov.io/gh/agilgur5/react-signature-canvas)
20-
<br>
21-
[![NPM](https://nodei.co/npm/react-signature-canvas.png?downloads=true&downloadRank=true&stars=true)](https://npmjs.org/package/react-signature-canvas)
22-
<br>
18+
[![build status](https://img.shields.io/github/actions/workflow/status/agilgur5/react-signature-canvas/ci.yml?branch=v1.0.x)](https://github.com/agilgur5/react-signature-canvas/actions/workflows/ci.yml?query=branch%3Av1.0.x)
19+
[![code coverage](https://img.shields.io/codecov/c/gh/agilgur5/react-signature-canvas/v1.0.x.svg)](https://codecov.io/gh/agilgur5/react-signature-canvas)
20+
2321
A React wrapper component around [signature_pad](https://github.com/szimek/signature_pad).
2422

2523
Originally, this was just an _unopinionated_ fork of [react-signature-pad](https://github.com/blackjk3/react-signature-pad) that did not impose any styling or wrap any other unwanted elements around your canvas -- it's just a wrapper around a single canvas element!
@@ -30,7 +28,9 @@ This fork also allows you to directly pass [props](#props) to the underlying can
3028

3129
## Installation
3230

33-
`npm i -S react-signature-canvas`
31+
```sh
32+
npm i -S react-signature-canvas
33+
```
3434

3535
## Usage
3636

0 commit comments

Comments
 (0)