Skip to content

Commit

Permalink
Updated code sample to reflect 1.0.0 change (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
rivertam authored and koistya committed Apr 30, 2016
1 parent 83d1691 commit 6ff8064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -71,7 +71,7 @@ function MyComponent(props, context) {
);
}

export default withStyles(MyComponent, s); // <--
export default withStyles(s)(MyComponent); // <--
```

**P.S.**: It works great with [CSS Modules](https://github.com/css-modules/css-modules)!
Expand Down

0 comments on commit 6ff8064

Please sign in to comment.