lint: Linter fixes
This commit is contained in:
@@ -10,9 +10,7 @@
|
||||
Tooltip hover
|
||||
</button>
|
||||
</template>
|
||||
<template #content>
|
||||
Tooltip content
|
||||
</template>
|
||||
<template #content> Tooltip content </template>
|
||||
</Tooltip>
|
||||
<!-- Show tooltip on click -->
|
||||
<Tooltip trigger="click">
|
||||
@@ -24,9 +22,7 @@
|
||||
Tooltip click
|
||||
</button>
|
||||
</template>
|
||||
<template #content>
|
||||
Tooltip content
|
||||
</template>
|
||||
<template #content> Tooltip content </template>
|
||||
</Tooltip>
|
||||
</div>
|
||||
</template>
|
||||
@@ -36,14 +32,14 @@ import { Tooltip } from '../../../../src/index'
|
||||
import type { PropType } from 'vue'
|
||||
import type { TooltipPlacement } from '../../../../src/components/Tooltip/types'
|
||||
|
||||
const props = defineProps({
|
||||
placement: {
|
||||
type: String as PropType<TooltipPlacement>,
|
||||
default: 'top',
|
||||
},
|
||||
arrowColor: {
|
||||
defineProps({
|
||||
placement: {
|
||||
type: String as PropType<TooltipPlacement>,
|
||||
default: 'top',
|
||||
},
|
||||
arrowColor: {
|
||||
type: String,
|
||||
default: '#0f172a',
|
||||
},
|
||||
},
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user