afrododi
Version:
Framework-agnostic async-compatible CSS-in-JS with support for server-side rendering, browser prefixing, and minimum CSS generation
32 lines (27 loc) • 678 B
JavaScript
/* @flow */
// Module with the same interface as the core afrododi module,
// except that styles injected do not automatically have !important
// appended to them.
import makeExports from './exports';
const useImportant = false; // Don't add !important to style definitions
const afrododi = makeExports(useImportant);
const {
StyleSheet,
StyleSheetServer,
StyleSheetTestUtils,
css,
minify,
flushToStyleTag,
injectAndGetClassName,
defaultSelectorHandlers,
} = afrododi;
export {
StyleSheet,
StyleSheetServer,
StyleSheetTestUtils,
css,
minify,
flushToStyleTag,
injectAndGetClassName,
defaultSelectorHandlers,
};