Skip to content

Commit

Permalink
fix(ktooltip): suppress vue attr passthrough warning (#2178)
Browse files Browse the repository at this point in the history
it's safe to set `inheritAttrs` to `false` because we have
set `v-bind="$attrs"` on `<KPop />` manually
  • Loading branch information
nekolab authored and adamdehaven committed Jun 3, 2024
1 parent 8505728 commit 4e340a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/KTooltip/KTooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ import type { PopPlacements } from '@/types'
import { PopPlacementsArray } from '@/types'
import { v4 as uuidv4 } from 'uuid'
defineOptions({
inheritAttrs: false,
})
const props = defineProps({
/**
* Text to show in tooltip
Expand Down

0 comments on commit 4e340a5

Please sign in to comment.