Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can Collapse component add suffix slot ? #1046

Closed
tarepanda1024 opened this issue Sep 2, 2021 · 1 comment · Fixed by #1064
Closed

Can Collapse component add suffix slot ? #1046

tarepanda1024 opened this issue Sep 2, 2021 · 1 comment · Fixed by #1064
Labels
feature request New feature or request priority: low

Comments

@tarepanda1024
Copy link

This function solves the problem (这个功能解决的问题)

I want to use Collapse component to manage collections , need some menus in the suffix. Just like https://www.getoutline.com/ .I use tree in the conent of Collapse,not in the root node,because i can't custom the tree collapse icon.

Expected API (期望的 API)

like this

<template #suffix>
      <n-icon>
        <cash-icon />
      </n-icon>
</template>
@github-actions github-actions bot added the feature request New feature or request label Sep 2, 2021
@07akioni
Copy link
Collaborator

07akioni commented Sep 2, 2021

Okay

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature request New feature or request priority: low
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants