Skip to content

Commit 7637b36

Browse files
committed
Fixed heading levels in README file.
1 parent d7a742a commit 7637b36

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
</div>
88

9-
# Installation
9+
## Installation
1010

1111
```shell
1212
yarn add react-input-handler
@@ -18,14 +18,14 @@ or
1818
npm install react-inpu-handler --save
1919
```
2020

21-
# Usage
21+
## Usage
2222

2323
Two things needs to be done to use **react-input-handler**:
2424

2525
1. Create a bound function (see 2nd line in constructor).
2626
2. Attach the bound function to `onChange` events.
2727

28-
## Example
28+
### Example
2929

3030
```js
3131
import React from 'react'
@@ -62,25 +62,25 @@ class Form extends React.Component {
6262
}
6363
```
6464
65-
# Documentation
65+
## Documentation
6666
6767
**React-input-handler** a single function which accept an event as unique argument.
6868
6969
The objective is simple: handle input changes and persist them into the component's state.
7070
71-
# Development
71+
## Development
7272
7373
1. Clone and fork this repo.
7474
2. Install dependencies running: `yarn` or `npm install`.
7575
3. [Run tests](#test).
7676
4. Prepare a pull request.
7777
78-
## Test
78+
### Test
7979
8080
- `yarn test` - to run all tests.
8181
- `yarn test -- --watch` to run all tests in watch mode.
8282
83-
## Publish
83+
### Publish
8484
8585
1. Bump version: `npm version x.x.x -m 'Version %s.'`.
8686
2. Publish to NPM registry: `npm publish`.

0 commit comments

Comments
 (0)