How to use the inline-style-prefixer.process function in inline-style-prefixer

To help you get started, we’ve selected a few inline-style-prefixer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github robinweser / react-look / src / modules / resolver.js View on Github external
function prefixStyles(styles) {
	if (Config.canAutoPrefix()) {
		Prefixer.process(styles);
	} else {
		console.warn('Autoprefixing failed as there is no valid userAgent specified.');
		console.warn('Use Config.setUserAgent to specify a custom userAgent for server-side rendering.');
	}
}