diff --git a/packages/tooltip/index.d.ts b/packages/tooltip/index.d.ts index 6ffa9f36b..574fb3e96 100644 --- a/packages/tooltip/index.d.ts +++ b/packages/tooltip/index.d.ts @@ -17,15 +17,21 @@ declare module '@nivo/tooltip' { color: string format?: (value: number | string) => number | string renderContent?: () => React.ReactNode - theme: Pick } export class BasicTooltip extends React.Component {} + export interface ChipProps { + color: string + size?: number + style?: Partial + } + + export class Chip extends React.Component {} + export interface TableTooltipProps { title?: React.ReactNode rows: React.ReactNode[][] - theme: Pick renderContent?: () => React.ReactNode }