Skip to content

Commit 0dc0959

Browse files
committed
fix: use camelCase props in text element
Closes: #431
1 parent 5d46e79 commit 0dc0959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/hooks/useCrossHair.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ export function useCrossHair(options: UseCrossHairOptions = {}) {
8787
<Text
8888
xAxis={horizontalAxisId}
8989
yAxis={verticalAxisId}
90-
text-anchor="end"
91-
alignment-baseline="after-edge"
90+
textAnchor="end"
91+
alignmentBaseline="after-edge"
9292
x={hover[horizontalAxisId]}
9393
y={hover[verticalAxisId]}
9494
{...textProps}

0 commit comments

Comments
 (0)