UNPKG

@talend/react-containers

Version:

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

20 lines 602 B
import { cmfConnect } from '@talend/react-cmf'; import Immutable from 'immutable'; import { TabBar } from "@talend/react-components"; export const DEFAULT_STATE = new Immutable.Map({}); export default cmfConnect({ componentId: ownProps => ownProps.componentId || ownProps.id, defaultProps: { initialState: {}, onSelectSetState: { selectedKey: [1, 'key'] } }, defaultState: DEFAULT_STATE, omitCMFProps: true, withComponentRegistry: true, withDispatch: true, withDispatchActionCreator: true, withComponentId: true })(TabBar); //# sourceMappingURL=TabBar.connect.js.map