From ece6c2da746b76a49ab7dadedb6442dfe2a234db Mon Sep 17 00:00:00 2001 From: Charlie Brown Date: Thu, 18 Jan 2024 14:57:53 -0600 Subject: [PATCH] Type flyout functional component --- packages/victory-tooltip/src/flyout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/victory-tooltip/src/flyout.tsx b/packages/victory-tooltip/src/flyout.tsx index de627e3d8..fd05034fe 100644 --- a/packages/victory-tooltip/src/flyout.tsx +++ b/packages/victory-tooltip/src/flyout.tsx @@ -141,7 +141,7 @@ const defaultProps = { shapeRendering: "auto", }; -export const Flyout = (initialProps: FlyoutProps) => { +export const Flyout: React.FC = (initialProps) => { const props = evaluateProps({ ...defaultProps, ...initialProps }); const userProps = UserProps.getSafeUserProps(props);