How to use the radium/lib/enhancer function in radium

To help you get started, we’ve selected a few radium 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 FormidableLabs / radium-grid / src / components / style-root.js View on Github external
instance._radiumStyleKeeper = new StyleKeeper(userAgent);
  }

  return instance._radiumStyleKeeper;
};

class GridStyleRoot extends StyleRoot {
  constructor() {
    super(...arguments);

    this._radiumStyleKeeper = null;
    _getStyleKeeper(this);
  }
}

export default Enhancer(GridStyleRoot);