Skip to content

Commit

Permalink
type: remove ForwardRefRenderFunction (#39924)
Browse files Browse the repository at this point in the history
* type

* fix
  • Loading branch information
li-jia-nan authored and yoyo837 committed Dec 31, 2022
1 parent 1c66219 commit 8f9a25c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/tour/index.tsx
Expand Up @@ -8,9 +8,9 @@ import useStyle from './style';
import type { TourProps, TourStepProps } from './interface';
import PurePanel from './PurePanel';

const Tour: React.ForwardRefRenderFunction<HTMLDivElement, TourProps> & {
_InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel;
} = (props) => {
const Tour: React.FC<TourProps> & { _InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel } = (
props,
) => {
const {
prefixCls: customizePrefixCls,
steps,
Expand Down

0 comments on commit 8f9a25c

Please sign in to comment.