lint: Linter fixes

This commit is contained in:
Ilya Artamonov
2023-09-19 20:11:30 +03:00
parent 0a792fc0d5
commit faa35a98a4
12 changed files with 274 additions and 180 deletions

View File

@@ -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>