-
Notifications
You must be signed in to change notification settings - Fork 361
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
M3-1978 Toast Notifications Styling #4207
Conversation
alioso
commented
Dec 7, 2018
•
edited
Loading
edited
- added component abstraction
- added storybook story
- styled the thing
Thanks for the typing help @martinmckenna |
I need help with a theme type error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can now upgrade notistack and get rid of this line, as the typings for classes
should be fixed
@martinmckenna all set - nice contribution |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, just need to remove the sample toasts
src/App.tsx
Outdated
setTimeout(() => { | ||
setTimeout(() => { | ||
setTimeout(() => { | ||
this.props.enqueueSnackbar(`Hi Alban! I fixed it! (default)`, { variant: 'default' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably ought to delete these
src/App.tsx
Outdated
@@ -360,7 +375,7 @@ export class App extends React.Component<CombinedProps, State> { | |||
<Route path="/dashboard" component={Dashboard} /> | |||
<Route path="/search" component={SearchLanding} /> | |||
<Redirect exact from="/" to="/dashboard" /> | |||
\ <Route component={NotFound} /> | |||
\ <Route component={NotFound} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stray slash?
@martinmckenna, @Jskobos addressed |