File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
2
2
import classNames from 'classnames' ;
3
3
import Portal from '@rc-component/portal' ;
4
4
import type { PosInfo } from './hooks/useTarget' ;
5
- import useId from '@rc-component/lib/hooks/useId' ;
5
+ import useId from '@rc-component/util/ lib/hooks/useId' ;
6
6
import type { SemanticName , TourProps } from './interface' ;
7
7
8
8
const COVER_PROPS = {
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import Portal from '@rc-component/portal';
4
4
import type { TriggerRef } from '@rc-component/trigger' ;
5
5
import Trigger from '@rc-component/trigger' ;
6
6
import classNames from 'classnames' ;
7
- import useLayoutEffect from '@rc-component/lib/hooks/useLayoutEffect' ;
8
- import useMergedState from '@rc-component/lib/hooks/useMergedState' ;
7
+ import useLayoutEffect from '@rc-component/util/ lib/hooks/useLayoutEffect' ;
8
+ import useMergedState from '@rc-component/util/ lib/hooks/useMergedState' ;
9
9
import { useMemo } from 'react' ;
10
10
import { useClosable } from './hooks/useClosable' ;
11
11
import useTarget from './hooks/useTarget' ;
Original file line number Diff line number Diff line change 1
1
import * as React from 'react' ;
2
2
import type { TourStepProps } from '../interface' ;
3
3
import classNames from 'classnames' ;
4
- import pickAttrs from '@rc-component/lib/pickAttrs' ;
4
+ import pickAttrs from '@rc-component/util/ lib/pickAttrs' ;
5
5
6
6
export type DefaultPanelProps = Exclude < TourStepProps , 'closable' > & {
7
7
closable : Exclude < TourStepProps [ 'closable' ] , boolean > ;
Original file line number Diff line number Diff line change 1
- import useEvent from '@rc-component/lib/hooks/useEvent' ;
2
- import useLayoutEffect from '@rc-component/lib/hooks/useLayoutEffect' ;
1
+ import useEvent from '@rc-component/util/ lib/hooks/useEvent' ;
2
+ import useLayoutEffect from '@rc-component/util/ lib/hooks/useLayoutEffect' ;
3
3
import { useMemo , useState } from 'react' ;
4
4
import type { TourStepInfo } from '..' ;
5
5
import { isInViewPort } from '../util' ;
You can’t perform that action at this time.
0 commit comments