Skip to content

Commit

Permalink
fix(line): use correct motion types (#1685)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze authored Jul 14, 2021
1 parent 6cf688f commit 3e0f074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/line/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
Dimensions,
Box,
Theme,
MotionProps,
ModernMotionProps,
CartesianMarkerProps,
SvgDefsAndFill,
ValueFormat,
Expand Down Expand Up @@ -202,7 +202,7 @@ declare module '@nivo/line' {
legends?: LegendProps[]
}

export interface LineSvgProps extends LineProps, MotionProps, SvgDefsAndFill<Datum> {
export interface LineSvgProps extends LineProps, ModernMotionProps, SvgDefsAndFill<Datum> {
enablePointLabel?: boolean
pointLabel?: string | AccessorFunc
pointLabelYOffset?: number
Expand Down

0 comments on commit 3e0f074

Please sign in to comment.