Skip to content
Snippets Groups Projects
Unverified Commit b91f252c authored by Chris Beer's avatar Chris Beer Committed by GitHub
Browse files

Pass PluginComponents as targetProps to wrapped plugins

parent 736196ca
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ function _withPlugins(targetName, TargetComponent) { // eslint-disable-line no-u ...@@ -33,7 +33,7 @@ function _withPlugins(targetName, TargetComponent) { // eslint-disable-line no-u
return ( return (
<WrapPluginComponent <WrapPluginComponent
targetProps={passDownProps} targetProps={{...passDownProps, PluginComponents }}
{...passDownProps} {...passDownProps}
PluginComponents={PluginComponents} PluginComponents={PluginComponents}
TargetComponent={TargetComponent} TargetComponent={TargetComponent}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment