Skip to content

Commit

Permalink
feat(core): add missing spring config to Container
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc committed Nov 16, 2020
1 parent c567ae1 commit 25aa18f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
import { OpaqueInterpolation } from 'react-spring'
import { OpaqueInterpolation, SpringConfig } from 'react-spring'

declare module '@nivo/core' {
export type DatumValue = string | number | Date
Expand Down Expand Up @@ -259,7 +259,7 @@ declare module '@nivo/core' {
animate?: boolean
motionStiffness?: number
motionDamping?: number
// motionConfig
motionConfig?: string | SpringConfig
}

export const Container = (props: React.PropsWithChildren<ContainerProps>) => JSX.Element
Expand Down

0 comments on commit 25aa18f

Please sign in to comment.