@talend/react-containers
Version:
Provide connected components aka containers for @talend/react-cmf based on @talend/react-components.
13 lines (12 loc) • 379 B
TypeScript
/**
* Action dispatched when fetching products is required for the container
* @param {String} url Fetch URL
* @returns {Object}
*/
export function fetchProducts(url: string): Object;
/**
* Action dispatched when clicking on a product in the header bar
* @param {Object} product Opened product
* @returns {Object}
*/
export function openProduct(product: Object): Object;