Browse Source

type: remove ForwardRefRenderFunction (#39924)

* type

* fix
pull/39930/head
lijianan 2 years ago
committed by yoyo837
parent
commit
8f9a25c021
  1. 6
      components/tour/index.tsx

6
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<HTMLDivElement, TourProps> & {
_InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel;
} = (props) => {
const Tour: React.FC<TourProps> & { _InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel } = (
props,
) => {
const {
prefixCls: customizePrefixCls,
steps,

Loading…
Cancel
Save