fix[shadcn]: change 'src' prop requirement to optional in AvatarImage component

This commit is contained in:
Abhinav Raut
2025-04-10 18:21:30 +05:30
parent bb512d5ecd
commit 4a3afc83a5

View File

@@ -2,7 +2,7 @@
import { AvatarImage } from 'radix-vue'
const props = defineProps({
src: { type: String, required: true, default: '' },
src: { type: String, required: false, default: '' },
asChild: { type: Boolean, required: false },
as: { type: null, required: false }
})