Skip to content

Commit

Permalink
fix: Add missing tickValues prop type
Browse files Browse the repository at this point in the history
  • Loading branch information
f1multiviewer authored Jun 21, 2024
1 parent 1aed091 commit a87da03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/visx-grid/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export type CommonGridProps = {
strokeDasharray?: string;
/** Approximate number of grid lines. Approximate due to d3 alogrithm, specify `tickValues` for precise control. */
numTicks?: number;
/** An array of values that determine the number and values of the ticks. Falls back to `scale.ticks()` or `.domain()`. */
tickValues?: ScaleInput<Scale>[];
/** Styles to apply as grid line style. */
lineStyle?: CSSProperties;
/** Pixel offset to apply as a translation (y- for Rows, x- for Columns) to each grid lines. */
Expand Down

0 comments on commit a87da03

Please sign in to comment.