How can I customize the delete icon on Naive UI's NUpload component with its list-type as image-card?
Using Naive UI with Vue 3 I'm trying to replace the default "delete" (trash can) icon on the NUpload component with a Font Awesome icon or custom SVG component. My component setup (shows the default delete icon): <template> <div class="upload-avatar"> <NUpload action="https://www.mocky.io/v2/5e4bafc63100007100d8b70f" list-type="image-card" :default-file-list="defaultFileList" :max="1" @change="handleChange" > <NUploadDragger> <div> <i class="fa fa-upload icon"></i> </div> <div class="text-center"> <p>Click or drag to upload</p> </div> </NUploadDragger> </NUpload> </div> </template> <script lan
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.