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
+1 -2
View File
@@ -5,8 +5,7 @@ import { range, createNamespace, preventDefault } from '../utils';
import { callInterceptor } from '../utils/interceptor';
// Composition
import { useClickAway } from '@vant/use';
import { useRect } from '../composition/use-rect';
import { useRect, useClickAway } from '@vant/use';
import { useTouch } from '../composition/use-touch';
import { useExpose } from '../composition/use-expose';