-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
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.
amandiobmamandiobm
Metadata
Metadata
Assignees
Labels
No labels