Appearance
Appearance
import ImageInput from '~/ui/ImageInput.vue'Allow users to upload and preview images
const props = defineProps<WithAttributes<{
class: {
color?: 'color-default-solid'
}
label?: string
placeholder?: string
/**
* Absolute URL of previously uploaded image to compare against
*/
referenceSrc?: string
required?: boolean
disabled?: boolean
} & Labeled>>()const model = defineModel<File | null>()