vue-notifyjs
vue-notifyjs copied to clipboard
Passing props to message component
I have encountered a use case where I want to pass props to the message component.
I haven't seen a way to do that currently.
I was able to work around like the following
[
this.title !== undefined &&
h("span", { class: "title" }, [
h("b", null, [this.title, h("br", null, [])])
]),
this.message !== undefined && this.message,
this.component !== undefined &&
h(this.component, { props: this.componentProps }, [])
]
)
I can make a PR if this feature does not conflict with the direction and design decisions of the project.
@m3hari pls do a PR for this enhancement.
lol it's been 3 years
I don't remember any of this