Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
azukaar committed Aug 16, 2018
1 parent 94a62e5 commit e222632
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,16 +255,16 @@ const foo = CSS();
const foo2 = CSS();

<div className={classes({
foo,
bar : false,
[foo],
[bar] : false,
something: true
})}>test</div>

// classes() will return 'foo something'
// classes() will return 'class0, something'

<div className={classes([
foo,
foo2
[foo],
[foo2]
])}>test</div>

// classes() will return 'class0, class1'
Expand Down

0 comments on commit e222632

Please sign in to comment.