Skip to content

Commit

Permalink
Fix typo in docs (#3024)
Browse files Browse the repository at this point in the history
  • Loading branch information
djm158 authored Jan 9, 2025
1 parent b2eb182 commit cd0f963
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion website/docs/api/victory-container-props.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

<DefaultsBadge value='true}' />
<DefaultsBadge value='true' />

---

Expand Down
5 changes: 2 additions & 3 deletions website/docs/api/victory-voronoi-container.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ For examples of `VictoryVoronoiContainer` in action, visit the [containers](/doc

<Badges>
<TypeBadge value="boolean" />
<DefaultsBadge value="true}" />
<DefaultsBadge value="true" />
</Badges>

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.
Expand All @@ -34,7 +34,7 @@ When the `activateData` prop is set to true, the `active` prop will be set to tr

<Badges>
<TypeBadge value="boolean" />
<DefaultsBadge value="true}" />
<DefaultsBadge value="true" />
</Badges>

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.
Expand Down Expand Up @@ -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
<VictoryChart
domain={{ y: [0, 6] }}
Expand Down

0 comments on commit cd0f963

Please sign in to comment.