daniloster / react-native-sass-classname

Babel plugin to make react web app more reusable as react-native apps
MIT License
27 stars 3 forks source link

Feature request: better syntax for multiple classNames #9

Open kristerkari opened 6 years ago

kristerkari commented 6 years ago

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?

daniloster commented 6 years ago

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.