Skip to content

Commit

Permalink
fix(pie): correct argument type to usePie hook
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Jun 22, 2021
1 parent f91e8f2 commit 191e3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pie/src/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export const usePie = <RawDatum>({
activeInnerRadiusOffset = defaultProps.activeInnerRadiusOffset,
activeOuterRadiusOffset = defaultProps.activeOuterRadiusOffset,
}: Pick<
CompletePieSvgProps<RawDatum>,
Partial<CompletePieSvgProps<RawDatum>>,
| 'startAngle'
| 'endAngle'
| 'padAngle'
Expand Down

0 comments on commit 191e3e0

Please sign in to comment.