chore(components): improve imports

This commit is contained in:
Benjamin Canac
2024-03-19 18:34:50 +01:00
parent 0920099362
commit 961e6af9c8
5 changed files with 7 additions and 5 deletions

View File

@@ -4,7 +4,6 @@ import type { AvatarFallbackProps, AvatarRootProps } from 'radix-vue'
import type { AppConfig } from '@nuxt/schema'
import _appConfig from '#build/app.config'
import theme from '#build/ui/avatar'
import UIcon from './Icon.vue'
const appConfig = _appConfig as AppConfig & { ui: { avatar: Partial<typeof theme> } }
@@ -27,6 +26,7 @@ export interface AvatarProps extends Omit<AvatarRootProps, 'asChild'>, Omit<Avat
import { computed } from 'vue'
import { AvatarRoot, AvatarImage, AvatarFallback, useForwardProps } from 'radix-vue'
import { reactivePick } from '@vueuse/core'
import UIcon from '#ui/components/Icon.vue'
const props = defineProps<AvatarProps>()