(store: any)
| 29 | } |
| 30 | |
| 31 | export function createStoreConsumer(store: any) { |
| 32 | deprecate('createStoreConsumer', 'useUnit') |
| 33 | return (props: any) => { |
| 34 | const state = useStore(store) |
| 35 | return props.children(state) |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | export const createComponent = (shape: any) => throwError('not implemented') |
| 40 |
no test coverage detected
searching dependent graphs…