Skip to content

Commit 496382e

Browse files
committed
adding readme
1 parent b08ed43 commit 496382e

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# git config --global core.excludesfile '~/.gitignore_global'
66

77
/tmp
8+
/build
89

910
.DS_Store
1011
/node_modules/*

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# React Signature Pad
2+
A [signature pad](https://github.com/szimek/signature_pad) implementation for react.
3+
4+
# Usage
5+
6+
```javascript
7+
var React = require('react');
8+
var SignaturePad = require('react-signature-pad');
9+
10+
React.render(
11+
<SignaturePad />,
12+
document.body
13+
)
14+
```
15+
16+
# CSS
17+
In order to make the signature pad work correctly you will need the css as well. All the relevant styles are in [this file](style.css).
18+
19+
# Example
20+
```bash
21+
$ npm start
22+
```
23+
Then navigate to http://localhost:8080/ in your browser and you should be able to see the signature pad in action.

0 commit comments

Comments
 (0)