Skip to content

Toast simple customization #2017

Answered by chasinhues
akiarostami asked this question in General
Discussion options

You must be logged in to vote

@akiarostami sorry for the lack of response on our part!

Looks like it will need to be done in the render method of the toast. You could create a reusable component that applies the styles you want in the render method, something like this - https://codesandbox.io/s/custom-toast-render-method-um7xg?file=/src/useToast.tsx

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@akiarostami
Comment options

Answer selected by chasinhues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants