Closed filippofilip95 closed 1 year ago
Name | Link |
---|---|
Latest commit | 9048925694ee8a6bcc1029a9db427fa11b33e44d |
Latest deploy log | https://app.netlify.com/sites/evergreen-storybook/deploys/63ecc4b27153890008c37a70 |
Deploy Preview | https://deploy-preview-1616--evergreen-storybook.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Thanks for the contribution, @filippofilip95! This should be fixed in https://github.com/segmentio/evergreen/releases/tag/v7.1.4
Hello ! :)
Overview This PR fixes the Typescript type of the
toaster
instance in the following way:title
argument intoaster
. Thetitle
was typed as only astring
but instead, it can supportReactNode
. TypeReactNode
is fortitle
also specified in interface Toast.remove
to thetoaster
. Functionremove
is exposed in the toaster however it doesn't exist in types. Functionremove
is also already used in the storybook here.Screenshots (if applicable) Documentation doesn't need a change since it's already considering that type
title
is anode
.Documentation