refract-xstream
Version:
Refract bindings for React with xstream: harness the power of reactive programming to supercharge your components!
15 lines (14 loc) • 541 B
TypeScript
import { Handler, ErrorHandler } from './baseTypes'
import { Aperture } from './observable'
declare const configureComponent: <Props, Effect, Context>(
aperture: Aperture<Props, Effect, Context>,
instance: any,
isValidElement?: (val: any) => boolean,
isComponentClass?: (val: any) => boolean,
handler?: Handler<Props, Effect, Context>,
errorHandler?: ErrorHandler<Props, any>,
mergeProps?: boolean,
decorateProps?: boolean,
componentName?: string
) => void
export default configureComponent