Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
version bump and npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
scf4 committed Jul 2, 2017
1 parent 2747ccc commit c8fb5e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.0.0] - 2017-07-02
## [2.0.0] - 2017-07-02
### Changed
- `styled-map` now looks for a "default" key if there are no matches. Otherwise it will use the last item in the map as in previous versions.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Much better!

Sometimes you'll want to map styles to the value of a prop instead, e.g., you have a `type` variable to pass to your component and you don't want to do something like `<Button {...{[type]:true}} />`.

Since `v1.0.0` you can use `styled-map` in these situations by simply passing a prop name as the first argument:
Since `v2.0.0` you can use `styled-map` in these situations by simply passing a prop name as the first argument:

```js
const Button = styled.button`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "styled-map",
"version": "1.0.0",
"version": "2.0.0",
"description": "",
"main": "dist/index.js",
"repository": {
Expand Down

0 comments on commit c8fb5e9

Please sign in to comment.