Skip to content

Custom CSS Classes when using the simple text version#37

Open
iampava wants to merge 1 commit intobmcmahen:masterfrom
tapwater:custom-css-classes
Open

Custom CSS Classes when using the simple text version#37
iampava wants to merge 1 commit intobmcmahen:masterfrom
tapwater:custom-css-classes

Conversation

@iampava
Copy link
Copy Markdown

@iampava iampava commented Jul 3, 2020

We'd like to have different styles of Toasts: success, info and danger.

One way to do this would be to use a render callback inside notify function, but that's a little overkill when what we want is a basic text and close button. So, I'm thinking we should let users pass a custom className so they can style based on that

@iampava iampava force-pushed the custom-css-classes branch from 9006f56 to 9b9dd1f Compare July 3, 2020 10:43
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