Browse Source

type: remove ForwardRefRenderFunction (#39924)

* type

* fix
pull/39928/head
lijianan 2 years ago
committed by GitHub
parent
commit
54d7f30018
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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