How to use the fela-bindings.feFactory function in fela-bindings

To help you get started, we’ve selected a few fela-bindings 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 robinweser / fela / packages / preact-fela / src / fe.js View on Github external
/* @flow */
// $FlowFixMe
import { h } from 'preact'
import { feFactory } from 'fela-bindings'

import FelaComponent from './FelaComponent'

export default feFactory(h, FelaComponent)