Skip to content

Commit 6a7bdbd

Browse files
committed
Updates README
1 parent 3423a83 commit 6a7bdbd

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
We follow semantic versioning.
2+
3+
See the [releases](https://github.com/ctrlplusb/react-sizeme/releases) page on
4+
GitHub for information regarding each release.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
[![Travis](https://img.shields.io/travis/ctrlplusb/react-sizeme.svg?style=flat-square)](https://travis-ci.org/ctrlplusb/react-sizeme)
1313
[![Codecov](https://img.shields.io/codecov/c/github/ctrlplusb/react-sizeme.svg?style=flat-square)](https://codecov.io/github/ctrlplusb/react-sizeme)
1414

15-
- Blazingly fast. 😛
16-
- Responsive Components!
15+
- Hyper Responsive Components!
16+
- Performant.
1717
- Easy to use.
1818
- Extensive browser support.
19-
- Supports any Component type, i.e. stateless/class.
20-
- Really small bundle size.
19+
- Supports functional and class Component types.
20+
- Tiny bundle size.
2121

2222
Use it via the render prop pattern (supports `children` or `render` prop):
2323

@@ -229,7 +229,7 @@ Now create a "parent" component providing it a `onSize` callback function to the
229229

230230
```jsx
231231
class ParentComponent extends React.Component {
232-
onSize = size => {
232+
onSize = (size) => {
233233
console.log('MyComponent has a width of', size.width)
234234
}
235235

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@
145145
},
146146
"lint-staged": {
147147
"*.js": [
148-
"prettier --write \"src/**/*.js\"",
149-
"git add"
148+
"prettier --write \"src/**/*.js\""
150149
]
151150
},
152151
"husky": {

0 commit comments

Comments
 (0)