Skip to content

Commit

Permalink
fix(Meter): missing import of Icon component
Browse files Browse the repository at this point in the history
Fixes #1328
  • Loading branch information
benjamincanac committed Feb 6, 2024
1 parent 882247e commit f8b296f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/runtime/components/elements/Meter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import { computed, defineComponent, toRef } from 'vue'
import type { SlotsType, PropType } from 'vue'
import { twJoin } from 'tailwind-merge'
import UIcon from './Icon.vue'
import { useUI } from '../../composables/useUI'
import { mergeConfig } from '../../utils'
import type { Strategy, MeterColor, MeterSize } from '../../types'
Expand All @@ -41,6 +42,9 @@ import { meter } from '#ui/ui.config'
const config = mergeConfig<typeof meter>(appConfig.ui.strategy, appConfig.ui.meter, meter)
export default defineComponent({
components: {
UIcon
},
inheritAttrs: false,
slots: Object as SlotsType<{
indicator?: { percent: number, value: number },
Expand Down

0 comments on commit f8b296f

Please sign in to comment.