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

refactor(notification): refactor component to use hooks #5072

Merged
merged 5 commits into from
Jan 16, 2020
Merged

refactor(notification): refactor component to use hooks #5072

merged 5 commits into from
Jan 16, 2020

Conversation

aledavila
Copy link
Contributor

Refactoring Notification component to use hooks

Changelog

New

  • added proptypes to NotificationIcon

Changed

  • refactored NotificationIcon return statement
  • refactored icontype function
  • refactored component to use hooks
  • updated tests to account for no longer using state

Testing / Reviewing

Make sure notification is rendering.

@netlify
Copy link

netlify bot commented Jan 16, 2020

Deploy preview for the-carbon-components ready!

Built with commit e7ae306

https://deploy-preview-5072--the-carbon-components.netlify.com

@netlify
Copy link

netlify bot commented Jan 16, 2020

Deploy preview for carbon-components-react failed.

Built with commit 2bd9811

https://app.netlify.com/sites/carbon-components-react/deploys/5e20ad6aa8409b0008360c4a

@netlify
Copy link

netlify bot commented Jan 16, 2020

Deploy preview for carbon-elements failed.

Built with commit 2bd9811

https://app.netlify.com/sites/carbon-elements/deploys/5e20ad6af04baa0009a5873c

@netlify
Copy link

netlify bot commented Jan 16, 2020

Deploy preview for carbon-elements ready!

Built with commit e7ae306

https://deploy-preview-5072--carbon-elements.netlify.com

@netlify
Copy link

netlify bot commented Jan 16, 2020

Deploy preview for carbon-components-react ready!

Built with commit e7ae306

https://deploy-preview-5072--carbon-components-react.netlify.com

Copy link
Member

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, just tiny style fixes 👍

@aledavila
Copy link
Contributor Author

@tw15egan done! thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants