We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12b560f commit b62a346Copy full SHA for b62a346
demo/src/components/Button.vue
@@ -1,8 +1,8 @@
1
<script setup lang="ts">
2
import { defineProps, ref, withDefaults } from 'vue'
3
-import { useVariant } from 'vue-use-variant'
+import { UseVariant, useVariant } from 'vue-use-variant'
4
5
-const { defineVariant } = useVariant()
+const { defineVariant } = useVariant() as UseVariant
6
7
interface Props {
8
button?: boolean
0 commit comments