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 May 9, 2024
1 parent 411927f commit 1230889
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 1230889

Please sign in to comment.