diff --git a/packages/radial-bar/src/types.ts b/packages/radial-bar/src/types.ts index e8e195f17..f64e56290 100644 --- a/packages/radial-bar/src/types.ts +++ b/packages/radial-bar/src/types.ts @@ -56,7 +56,8 @@ export type RadialBarCustomLayer = FunctionComponent export interface RadialBarTooltipProps { bar: ComputedBar } -export type RadialBarTooltipComponent = FunctionComponent +export type RadialBarTooltipComponent = + FunctionComponent> export interface RadialBarTrackDatum { id: string @@ -101,7 +102,7 @@ export type RadialBarCommonProps = { labelsTextColor: ArcLabelsProps>['arcLabelsTextColor'] isInteractive: boolean - tooltip: RadialBarTooltipComponent + tooltip: RadialBarTooltipComponent onClick: (bar: ComputedBar, event: MouseEvent) => void onMouseEnter: (bar: ComputedBar, event: MouseEvent) => void onMouseMove: (bar: ComputedBar, event: MouseEvent) => void