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

Commit c8fb5e9

Browse files
author
scf4
committed
version bump and npm publish
1 parent 2747ccc commit c8fb5e9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
55

6-
## [1.0.0] - 2017-07-02
6+
## [2.0.0] - 2017-07-02
77
### Changed
88
- `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.
99

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Much better!
8787

8888
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}} />`.
8989

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

9292
```js
9393
const Button = styled.button`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "styled-map",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "",
55
"main": "dist/index.js",
66
"repository": {

0 commit comments

Comments
 (0)