From 54d7f3001821071f7828740c80a63e129a4ca4db Mon Sep 17 00:00:00 2001 From: lijianan <574980606@qq.com> Date: Fri, 30 Dec 2022 17:23:39 +0800 Subject: [PATCH] type: remove ForwardRefRenderFunction (#39924) * type * fix --- components/tour/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/tour/index.tsx b/components/tour/index.tsx index 87af40ced01d..ce9a35acc291 100644 --- a/components/tour/index.tsx +++ b/components/tour/index.tsx @@ -8,9 +8,9 @@ import useStyle from './style'; import type { TourProps, TourStepProps } from './interface'; import PurePanel from './PurePanel'; -const Tour: React.ForwardRefRenderFunction & { - _InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel; -} = (props) => { +const Tour: React.FC & { _InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel } = ( + props, +) => { const { prefixCls: customizePrefixCls, steps,