Skip to content

Paper banner accept node as child not just string #3111

Closed
@cparros

Description

@cparros

After working with paper for a bit and using the Banner component I believe there are valid use cases for when the banner could could accept more than just a string. for example a node that is a view with title and text components that can be styled for errors or success dropdown banners.

I am using typescript and am able to compile a workaround wrapped in a few views and TS-ignore but I think expanding the accepted children would be great here. Has there been any discussion or work around this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions