Skip to content

Action & Cancel options do not accept Component #110

@chasegiunta

Description

@chasegiunta

The action & cancel option types seem to indicate that you can pass a Component just as you can with icon, title, and description:

action?: Action | Component
cancel?: Action | Component

It doesn't look like that feature was ever added (https://github.com/xiaoluoboding/vue-sonner/blob/main/src/packages/Toast.vue#L132-L168)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions