UNPKG

@stated-library/react

Version:

React bindings for [`Stated Libraries`](https://github.com/bradfordlemley/stated-library)

9 lines (8 loc) 281 B
import * as React from 'react'; import { Observable } from '@stated-library/interface'; declare function link<State>(component: React.Component<any, State>, state$: Observable<State>): { connect: () => void; disconnect: () => void; }; export default link; export { link };