UNPKG

@talend/react-containers

Version:

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

12 lines (11 loc) 441 B
import { DEFAULT_STATE, DISPLAY_NAME } from './SubHeaderBar.container'; /** * Selector on the state from the subheader bar id given. * @param {object} state * @param {string} idComponent */ // eslint-disable-next-line import/prefer-default-export export function getComponentState(state, idComponent) { return state.cmf.components.getIn([DISPLAY_NAME, idComponent], DEFAULT_STATE); } //# sourceMappingURL=SubHeaderBar.selectors.js.map