UNPKG

@talend/react-containers

Version:

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

17 lines (16 loc) 573 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getComponentState = getComponentState; var _SubHeaderBar = require("./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 function getComponentState(state, idComponent) { return state.cmf.components.getIn([_SubHeaderBar.DISPLAY_NAME, idComponent], _SubHeaderBar.DEFAULT_STATE); } //# sourceMappingURL=SubHeaderBar.selectors.js.map