aphrodite
Version:
Framework-agnostic CSS-in-JS with support for server-side rendering, browser prefixing, and minimum CSS generation
36 lines (31 loc) • 751 B
JavaScript
/* @flow */
// Module with the same interface as the core aphrodite 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 Aphrodite = makeExports(useImportant);
const {
StyleSheet,
StyleSheetServer,
StyleSheetTestUtils,
css,
minify,
flushToStyleTag,
injectAndGetClassName,
defaultSelectorHandlers,
reset,
resetInjectedStyle,
} = Aphrodite;
export {
StyleSheet,
StyleSheetServer,
StyleSheetTestUtils,
css,
minify,
flushToStyleTag,
injectAndGetClassName,
defaultSelectorHandlers,
reset,
resetInjectedStyle,
};