Skip to content

Commit

Permalink
fix: use camelCase props in text element
Browse files Browse the repository at this point in the history
Closes: #431
  • Loading branch information
targos committed Sep 9, 2022
1 parent 5d46e79 commit 0dc0959
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/useCrossHair.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ export function useCrossHair(options: UseCrossHairOptions = {}) {
<Text
xAxis={horizontalAxisId}
yAxis={verticalAxisId}
text-anchor="end"
alignment-baseline="after-edge"
textAnchor="end"
alignmentBaseline="after-edge"
x={hover[horizontalAxisId]}
y={hover[verticalAxisId]}
{...textProps}
Expand Down

0 comments on commit 0dc0959

Please sign in to comment.