andreypopp/react-css-components

Allow className prop to apply classes to components

Open

#13 opened on Jul 13, 2016

View on GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (23 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (676 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

At the moment, if you import a component from your CSS, using the className prop to pass global classes in doesn't seem to work.

Is there a way to make these carry through to the underlying markup to allow things like global layout classes?

Contributor guide