From 6fbceecf20f5005e103ca7cf5e70666a7683a839 Mon Sep 17 00:00:00 2001 From: Clay Branch Date: Tue, 26 Sep 2017 11:11:36 -0500 Subject: [PATCH] pass parent props to clipContainerComponent in VictoryZoomContainer to make it possible to supply a clipId --- src/components/containers/victory-zoom-container.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/containers/victory-zoom-container.js b/src/components/containers/victory-zoom-container.js index b6abb171..866bb964 100644 --- a/src/components/containers/victory-zoom-container.js +++ b/src/components/containers/victory-zoom-container.js @@ -115,7 +115,8 @@ export const zoomContainerMixin = (base) => class VictoryZoomContainer extends b children: child, polar, origin: polar ? origin : undefined, - radius: polar ? radius : undefined + radius: polar ? radius : undefined, + ...clipContainerComponent.props }); }; return React.Children.toArray(children).map((child, index) => {