Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tailwind styling support #143

Closed
Lucasmm016 opened this issue Sep 21, 2023 · 3 comments
Closed

Add Tailwind styling support #143

Lucasmm016 opened this issue Sep 21, 2023 · 3 comments

Comments

@Lucasmm016
Copy link

Lucasmm016 commented Sep 21, 2023

Add support for Tailwind styling through className, example:

const t = () => toast.success('Success!', {
     className: 'bg-indigo-500'
   })

Reason: Makes it easier for those who use the lib in Next 13!

@Lucasmm016 Lucasmm016 changed the title Add Tailwind styling Add Tailwind styling support Sep 21, 2023
@emilkowalski
Copy link
Owner

This is already added.

@Lucasmm016
Copy link
Author

And how do I style toast with tailwind? I'm using it with Next 13.

@emilkowalski
Copy link
Owner

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

No branches or pull requests

2 participants