Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
filippofilip95 committed Dec 8, 2020
1 parent 3d744ee commit 106deda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Contributors.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Ivan Hanák @hanakivan
- [Patrik Mäsiar](https://github.com/massoprod)
- [Ivan Hanák](https://github.com/hanakivan)
- [Filip Papranec](https://github.com/filippofilip95)
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ or use CSS modules
<div className={ classes("className1", "className2", style.container) } />
```

or even use Array
```javascript
<div className={ classes("className1", "className2", ['class1', 'class2']) } />
```

#### Automatically filters boolean values
```javascript
<div className={ classes("className1", "className2", isModalVisible && style.modalWrapperVisible) } />
Expand Down

0 comments on commit 106deda

Please sign in to comment.