UNPKG

@talend/react-containers

Version:

Provide connected components aka containers for @talend/react-cmf based on @talend/react-components.

22 lines (21 loc) 902 B
/** * This saga takes care of fetching authorized products for the HeaderBar * container according to the provided products URL in the action's payload. * @param {Object} action */ export function fetchProducts(action: Object): Generator<import("redux-saga/effects").PutEffect<any> | import("redux-saga/effects").CallEffect<any>, void, { response: any; data: any; }>; /** * Handle the opening of a product from the HeaderBar * Behavior will be extended in the future (interaction with browser extension ...), * for now we only handle link opening * @param {Object} action */ export function handleOpenProduct(action: Object): void; declare const _default: { 'HeaderBar#default': typeof defaultHandler; }; export default _default; declare function defaultHandler(): Generator<import("redux-saga/effects").ForkEffect<never> | import("redux-saga/effects").TakeEffect, void, unknown>;