diff --git a/demo/js/components/victory-chart-demo.js b/demo/js/components/victory-chart-demo.js index c5b831b65..c6a6cea4c 100644 --- a/demo/js/components/victory-chart-demo.js +++ b/demo/js/components/victory-chart-demo.js @@ -213,11 +213,20 @@ class App extends React.Component {

VictoryChart

- + - + - + - + - + `${t}s ${i} ${ts[0]}`} /> } @@ -262,7 +285,11 @@ class App extends React.Component { /> - + { const modifiedProps = Helpers.modifyProps(props, fallbackProps, role); const { + desc, eventKey, containerComponent, standalone, @@ -46,7 +47,8 @@ const VictoryChart = (initialProps) => { height, theme, polar, - name + name, + title } = modifiedProps; const axes = props.polar @@ -90,34 +92,38 @@ const VictoryChart = (initialProps) => { const containerProps = React.useMemo(() => { if (standalone) { return { + desc, domain, - scale, width, height, - standalone, - theme, - style: style.parent, horizontal, name, + origin: polar ? origin : undefined, polar, radius, - origin: polar ? origin : undefined + theme, + title, + scale, + standalone, + style: style.parent }; } return {}; }, [ + desc, domain, - scale, - width, height, - standalone, - theme, - style, horizontal, name, + origin, polar, radius, - origin + scale, + standalone, + style, + title, + theme, + width ]); const container = React.useMemo(() => {