Modules: app/enhanced-redux-form/utils/injectFormNameToProps

Methods


injectFormNameToProps(WrappedComponent)

Will wrap the given react component such that it reads the name of the current form from the context (on the _reduxForm property). This name will be injected into props as the form prop

Parameters:
Name Type Description
WrappedComponent

The component that should ge the formname injected

Source:
Returns:

The wrapped react component