mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2024-11-10 17:49:18 +08:00
12 lines
315 B
TypeScript
12 lines
315 B
TypeScript
|
import type { ComputedRef, Ref } from 'vue'
|
||
|
import showWaveEffect from './wave-effect'
|
||
|
|
||
|
export default function useWave(nodeRef: Ref<HTMLElement>, className: ComputedRef<string>): VoidFunction {
|
||
|
function showWave() {
|
||
|
// const node = nodeRef.va!
|
||
|
showWaveEffect(nodeRef, className)
|
||
|
}
|
||
|
|
||
|
return showWave
|
||
|
}
|