daniloster / react-native-sass-classname

Babel plugin to make react web app more reusable as react-native apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: better syntax for multiple classNames

kristerkari opened this issue · comments

The current syntax of className={[styles.container, styles.transparentContainer].join(' ')} works, but it's not very pretty.

Would there be a way to support cleaner looking syntax or perhaps classnames library?

As I said previously, I am more the open to get contributions. This project I came up only to solve a simple purpose, which did it well. Any improvement is welcome. I just don't have time to do them. Feel free to put your PR.