Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/* @flow */
import { createElement } from 'react'
import { createComponentFactory } from 'fela-bindings'
import { RendererContext } from './context'
import FelaTheme from './FelaTheme'
export default createComponentFactory(
createElement,
RendererContext,
FelaTheme,
true
)
/* @flow */
import { createElement } from 'inferno-create-element'
import { createComponentFactory } from 'fela-bindings'
import { RendererContext } from './context'
import FelaTheme from './FelaTheme'
export default createComponentFactory(
createElement,
RendererContext,
FelaTheme,
true
)
/* @flow */
import { h } from 'preact'
import { createComponentFactory } from 'fela-bindings'
import withTheme from './withTheme'
export default createComponentFactory(h, withTheme, undefined, true)
/* @flow */
import { createElement } from 'react'
import { createComponentFactory } from 'fela-bindings'
import { RendererContext } from './context'
import FelaTheme from './FelaTheme'
export default createComponentFactory(createElement, RendererContext, FelaTheme)
/* @flow */
import { h } from 'preact'
import { createComponentFactory } from 'fela-bindings'
import withTheme from './withTheme'
export default createComponentFactory(h, withTheme)
/* @flow */
import { createElement } from 'inferno-create-element'
import { createComponentFactory } from 'fela-bindings'
import withTheme from './withTheme'
export default createComponentFactory(createElement, withTheme)