andreypopp/react-css-components

Allow className prop to apply classes to components

Aperta

#13 aperta il 13 lug 2016

 (5 commenti) (0 reazioni) (0 assegnatari)JavaScript (23 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (676 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor