@talend/react-containers
Version:
Provide connected components aka containers for @talend/react-cmf based on @talend/react-components.
16 lines • 434 B
JavaScript
import { cmfConnect } from '@talend/react-cmf';
import Container from './ShortcutManager.container';
function mapStateToProps() {
return {
pathname: window.location.pathname
};
}
export default cmfConnect({
omitCMFProps: true,
withComponentRegistry: true,
withDispatch: true,
withDispatchActionCreator: true,
withComponentId: true,
mapStateToProps
})(Container);
//# sourceMappingURL=ShortcutManager.connect.js.map