How to use the free-style.FreeStyle function in free-style

To help you get started, we’ve selected a few free-style 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 blakeembrey / react-free-style / react-free-style.js View on Github external
var React = require('react')
var FreeStyle = require('free-style').FreeStyle
var ReactCurrentOwner = require('react/lib/ReactCurrentOwner')
var ExecutionEnvironment = require('react/lib/ExecutionEnvironment')

/**
 * Create a React Free Style instance.
 */
function ReactFreeStyle () {
  FreeStyle.call(this)

  this.Element = createElement(this)
}

/**
 * Inherits from `free-style`.
 */
ReactFreeStyle.prototype = Object.create(FreeStyle.prototype)

free-style

Make CSS easier and more maintainable by using JavaScript

MIT
Latest version published 10 months ago

Package Health Score

64 / 100
Full package analysis