Skip to content

Conversation

NathanJPhillips
Copy link
Contributor

Add a constructor for ToastMessage that takes ToastType only.

With the new RenderFragment toast content a constructor that takes ToastType but not a string message now makes sense.

At the same time make some changes to other constructors:
o Invoke simpler constructors from more complex ones to avoid duplicating code
o Use default argument for autoHide instead of writing two separate constructors
o Add autoHide parameter to constructor that takes IconName to mirror the constructor that takes customIconName

@NathanJPhillips
Copy link
Contributor Author

Check failure looks unrelated to my changes. I believe it's caused by this error:
The format of the analysis property sonar.login= is invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant