glamorous component factory style arguments are powered by glamor which has support for contextual selectors. It can also take string arguments which will be added to the created dom elements class list.
So you might achieve something like asked with the following.
glamorous component factory style arguments are powered by glamor which has support for contextual selectors. It can also take string arguments which will be added to the created dom elements class list.
So you might achieve something like asked with the following.
glamor selector documentation: https://github.com/threepointone/glamor/blob/master/docs/selectors.md