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 { h, Component } from 'preact'
import { withThemeFactory } from 'fela-bindings'
export default withThemeFactory(Component, h)
/* @flow */
import { createElement } from 'react'
import { withThemeFactory } from 'fela-bindings'
import FelaTheme from './FelaTheme'
export default withThemeFactory(createElement, FelaTheme)
/* @flow */
import { Component } from 'inferno'
import { createElement } from 'inferno-create-element'
import { withThemeFactory } from 'fela-bindings'
export default withThemeFactory(Component, createElement)