Skip to content

Commit fc582a8

Browse files
authoredJan 27, 2021
Merge pull request #1782 from ASmartLynx/bug/get_path_types
Fix getPath types
2 parents 5e3723c + 27232a6 commit fc582a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/victory-core/src/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ export class LineSegment extends React.Component<LineSegmentProps> {}
812812

813813
export interface PointProps extends VictoryCommonPrimitiveProps {
814814
datum?: any;
815-
getPath?: (props: PointProps) => void;
815+
getPath?: (x: number, y: number, size: number) => string;
816816
pathComponent?: React.ReactElement;
817817
size?: number | Function;
818818
symbol?: ScatterSymbolType | Function;

0 commit comments

Comments
 (0)