@talend/react-containers
Version:
Provide connected components aka containers for @talend/react-cmf based on @talend/react-components.
13 lines (12 loc) • 394 B
TypeScript
/**
* Selector on the state from the tabbar id given.
* @param {object} state
* @param {string} idComponent
*/
export function getComponentState(state: object, idComponent: string): any;
/**
* Return the selectedKey attr from the state of tabbar id given.
* @param {object} state
* @param {string} idComponent
*/
export function getSelectedKey(state: object, idComponent: string): any;