mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 03:44:48 +00:00
chore: move useRelation to @vant/use
This commit is contained in:
@@ -6,9 +6,9 @@ import { deepClone } from '../utils/deep-clone';
|
||||
import { range, isObject, createNamespace, preventDefault } from '../utils';
|
||||
|
||||
// Composition
|
||||
import { useParent } from '@vant/use';
|
||||
import { useTouch } from '../composition/use-touch';
|
||||
import { useExpose } from '../composition/use-expose';
|
||||
import { useParent } from '../composition/use-relation';
|
||||
|
||||
const DEFAULT_DURATION = 200;
|
||||
|
||||
|
@@ -6,8 +6,8 @@ import { unitToPx, preventDefault, createNamespace } from '../utils';
|
||||
import { BORDER_UNSET_TOP_BOTTOM } from '../utils/constant';
|
||||
|
||||
// Composition
|
||||
import { useChildren } from '@vant/use';
|
||||
import { useExpose } from '../composition/use-expose';
|
||||
import { useChildren } from '../composition/use-relation';
|
||||
|
||||
// Components
|
||||
import Loading from '../loading';
|
||||
|
Reference in New Issue
Block a user