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

@@ -5,12 +5,12 @@ import { createNamespace, isDef } from '../utils';
// Composition
import {
useRect,
useChildren,
useClickAway,
useScrollParent,
useEventListener,
} from '@vant/use';
import { useRect } from '../composition/use-rect';
const [createComponent, bem] = createNamespace('dropdown-menu');