How to use the emotion-theming.ThemeProvider function in emotion-theming

To help you get started, we’ve selected a few emotion-theming 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 michelson / dante2 / package / lib / components / Dante / Dante.js View on Github external
value: function render() {
      return _react.default.createElement(_emotionTheming.ThemeProvider, {
        theme: this.props.theme || _default2.default
      }, _react.default.createElement(_base.default, {
        style: this.props.style
      }, _react.default.createElement(_editor.default, Object.assign({}, this.props, {
        toggleEditable: this.toggleEditable
      }))));
    }
  }]);

emotion-theming

A CSS-in-JS theming solution, inspired by styled-components

MIT
Latest version published 4 years ago

Package Health Score

85 / 100
Full package analysis

Similar packages