chore: move useRect to @vant/use

This commit is contained in:
chenjiahan
2020-10-05 11:22:30 +08:00
parent 6aa67b6df9
commit fd92564c27
15 changed files with 35 additions and 40 deletions

View File

@@ -13,8 +13,12 @@ import {
} from '../utils';
// Composition
import { useChildren, useScrollParent, useEventListener } from '@vant/use';
import { useRect } from '../composition/use-rect';
import {
useRect,
useChildren,
useScrollParent,
useEventListener,
} from '@vant/use';
import { useTouch } from '../composition/use-touch';
export const INDEX_BAR_KEY = 'vanIndexBar';