From 6e51fa8e9c236bd4a621e7c8c2662f12e15ce64c Mon Sep 17 00:00:00 2001 From: Lior Pollak <4294489+liorp@users.noreply.github.com> Date: Thu, 17 Oct 2024 19:12:18 +0300 Subject: [PATCH 1/2] fix: type --- packages/radial-bar/src/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/radial-bar/src/types.ts b/packages/radial-bar/src/types.ts index e8e195f17..256ff07cb 100644 --- a/packages/radial-bar/src/types.ts +++ b/packages/radial-bar/src/types.ts @@ -56,7 +56,7 @@ export type RadialBarCustomLayer = FunctionComponent export interface RadialBarTooltipProps { bar: ComputedBar } -export type RadialBarTooltipComponent = FunctionComponent +export type RadialBarTooltipComponent = FunctionComponent> export interface RadialBarTrackDatum { id: string @@ -101,7 +101,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 From b8d7216e3d8e8433af8ebc3c87bda0ee7c311c37 Mon Sep 17 00:00:00 2001 From: Lior Pollak Date: Fri, 20 Dec 2024 12:26:40 +0200 Subject: [PATCH 2/2] fix: prettier --- packages/radial-bar/src/types.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/radial-bar/src/types.ts b/packages/radial-bar/src/types.ts index 256ff07cb..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