From cd0f96332b01455e7106fe5ede6bcd4f90c28cda Mon Sep 17 00:00:00 2001 From: Dan McGrath Date: Thu, 9 Jan 2025 15:40:46 -0500 Subject: [PATCH] Fix typo in docs (#3024) --- website/docs/api/victory-container-props.mdx | 2 +- website/docs/api/victory-voronoi-container.mdx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/website/docs/api/victory-container-props.mdx b/website/docs/api/victory-container-props.mdx index 3c8406d8b..5817492f7 100644 --- a/website/docs/api/victory-container-props.mdx +++ b/website/docs/api/victory-container-props.mdx @@ -156,7 +156,7 @@ The `ouiaSafe` outputs an attribute called `data-ouia-safe`, which indicates tha This prop is used by the Open UI Automation 1.0-RC spec to help maintain automated testing environments. Components that are OUIA compliant must provide the following props; `ouiaId`, `ouiaSafe`, and `ouiaType`. - + --- diff --git a/website/docs/api/victory-voronoi-container.mdx b/website/docs/api/victory-voronoi-container.mdx index ecad0ed78..07319a4fd 100644 --- a/website/docs/api/victory-voronoi-container.mdx +++ b/website/docs/api/victory-voronoi-container.mdx @@ -23,7 +23,7 @@ For examples of `VictoryVoronoiContainer` in action, visit the [containers](/doc - + When the `activateData` prop is set to true, the `active` prop will be set to true on all data components within a voronoi area. When this prop is set to false, the `onActivated` and `onDeactivated` callbacks will still fire, but no mutations to data components will occur via Victory's event system. @@ -34,7 +34,7 @@ When the `activateData` prop is set to true, the `active` prop will be set to tr - + When the `activateLabels` prop is set to true, the `active` prop will be set to true on all labels corresponding to points within a voronoi area. When this prop is set to false, the `onActivated` and `onDeactivated` callbacks will still fire, but no mutations to label components will occur via Victory's event system. Labels defined directly on `VictoryVoronoiContainer` via the `labels` prop will still appear when this prop is set to false. @@ -75,7 +75,6 @@ _example:_ `labels={({ datum }) => "y: " + datum.y}` The `labelComponent` prop specified the component that will be rendered when `labels` are defined on `VictoryVoronoiContainer`. If the `labels` prop is omitted, no label component will be rendered. - ```jsx live