Currently, I am facing an issue with utilizing iView as the UI library for our project. Specifically, I need to select a Button from multiple iView Button components within a dynamic component, but I am unsure what should be passed to the :is props of the component. Below is a snippet of my code:
<span class="top-buttons" v-if="showTopButtons">
<Button @click="selectAll">
<Icon type="android-remove-circle"></Icon>
Select All
</Button>
<component :is="???">
<Button @click="moveToDrafts">
<Icon type="android-cancel"></Icon>
Move to Drafts
</Button>
<Button @click="publish">
<Icon type="android-cancel"></Icon>
Publish
</Button>
<Button @click="publish">
<Icon type="android-cancel"></Icon>
Publish
</Button>
</component>
<Button @click="deleteTour">
<Icon type="trash-a"></Icon>
Delete
</Button>
</span>