Skip to content

Commit

Permalink
feat: add deprecation notice to VTooltip and VClosePopper
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Jan 29, 2024
1 parent b5dc40c commit abf094f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/floating-vue/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@ import PrivateVClosePopper from './directives/v-close-popper'

export const options = config
// Directive
/**
* @deprecated Import `vTooltip` instead.
*/
export const VTooltip = PrivateVTooltip
export const vTooltip = PrivateVTooltip // For <script setup>
export { createTooltip, destroyTooltip } from './directives/v-tooltip'
/**
* @deprecated Import `vClosePopper` instead.
*/
export const VClosePopper = PrivateVClosePopper
export const vClosePopper = PrivateVClosePopper // For <script setup>
// Components
Expand Down

0 comments on commit abf094f

Please sign in to comment.