Skip to content

Commit cb09cf7

Browse files
authored
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
1 parent 64c7c49 commit cb09cf7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
[![dw](https://img.shields.io/npm/dw/react-signature-canvas.svg)](https://npmjs.org/package/react-signature-canvas)
1717
<br><!-- status / activity -->
1818
[![typings](https://img.shields.io/npm/types/react-signature-canvas.svg)](src/index.tsx)
19-
[![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+
[![build status](https://img.shields.io/github/actions/workflow/status/agilgur5/react-signature-canvas/ci.yml?branch=main)](https://github.com/agilgur5/react-signature-canvas/actions/workflows/ci.yml?query=branch%3Amain)
2020
[![code coverage](https://img.shields.io/codecov/c/gh/agilgur5/react-signature-canvas/main.svg)](https://codecov.io/gh/agilgur5/react-signature-canvas)
21-
<br>
22-
[![NPM](https://nodei.co/npm/react-signature-canvas.png?downloads=true&downloadRank=true&stars=true)](https://npmjs.org/package/react-signature-canvas)
23-
<br>
21+
2422
A React wrapper component around [signature_pad](https://github.com/szimek/signature_pad).
2523

2624
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!
@@ -31,7 +29,9 @@ This fork also allows you to directly pass [props](#props) to the underlying can
3129

3230
## Installation
3331

34-
`npm i -S react-signature-canvas`
32+
```sh
33+
npm i -S react-signature-canvas
34+
```
3535

3636
## Usage
3737

0 commit comments

Comments
 (0)