Skip to content

Commit

Permalink
fix(bar): remove unnecessary ColorProps
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc authored and Raphaël Benitte committed Jun 29, 2019
1 parent b4ca5ec commit 865e9a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/bar/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
Box,
Theme,
MotionProps,
ColorProps,
SvgDefsAndFill,
CartesianMarkerProps,
} from '@nivo/core'
Expand Down Expand Up @@ -81,8 +80,7 @@ declare module '@nivo/bar' {
theme: Theme
}

export type BarProps = ColorProps<BarDatum> &
Partial<{
export type BarProps = Partial<{
indexBy: string | IndexByFunc
keys: string[]

Expand Down

0 comments on commit 865e9a6

Please sign in to comment.