react-universally icon indicating copy to clipboard operation
react-universally copied to clipboard

Internal Styles

Open sergiokopplin opened this issue 8 years ago • 1 comments

Is there a way to use Internal CSS? I din't find any info from docs or from issues. My first try was looking into assets.json, but we have just js there. Important, i'm not using styled components. cc @oyeanuj.


e.g.

<head>
...
<style>
.hashClass { border: 1px solid #ccc; }
</style
...
</head>
```.

sergiokopplin avatar Oct 06 '17 18:10 sergiokopplin

You can use e.g. css-loader to import a global styles class

`import './global.css'

and then include "per class" css files to implement local styles

`import styles as './myComponent.css''

There is also the option to use jss-in-css or styled components

mschipperheyn avatar May 10 '18 14:05 mschipperheyn