This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*STYLIS : https://www.npmjs.com/package/stylis*/ | |
import {compile, serialize, stringify, middleware, prefixer} from 'stylis'; | |
/*Process the Raw CSS*/ | |
const getProcessedCss = (rawCss) =>{ | |
return serialize(compile(rawCss), middleware([prefixer, stringify])) | |
} | |
/*Render CSS inside style tag*/ | |
const RenderCss = (props) => { |