Skip to content

Add option to center toaster text via props #21

@Nnanyielugo

Description

@Nnanyielugo

Hi, thanks for this great library.
However, it does not seem like there is the option to center the toaster message, rather than align to the left.
Something like pass in an option to center the text from props which will override the default text style by merely adding the style that centers the toaster message text.

If you like, I can open a PR that fixes this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions