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

Solve issue - #45 Solving issues #45 - Adding a functionality that lets the user know when they copy an icon #64

Closed

Conversation

shrinishant
Copy link
Contributor

@shrinishant shrinishant commented Feb 24, 2022

#45
I've used react-toastify library to implement this feature. All the changes have been made only into HowToPanel.js file and package.json (to install the library)

@vinayaksh42
Copy link
Member

@shrinishant can you check with the failing checks Test js?

@shrinishant
Copy link
Contributor Author

@vinayaksh42 sir, I think i've resolved all the conflicts. Please let me know if there is still left any

package.json Outdated Show resolved Hide resolved
Comment on lines 5 to 6
import { ToastContainer, toast } from 'react-toastify'
import 'react-toastify/dist/ReactToastify.css'
Copy link
Member

Choose a reason for hiding this comment

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

Since a component like toast can be very easily reused, it would be preferable to add it to the topmost level component, rather than doing a piecemeal approach of adding it everywhere it is required.

The better way to implement it would be to add <ToastContainer /> and the CSS import in App.js and use toast anywhere it is required.

@Abhirup-99
Copy link
Member

Can we squash the commits?

@kaybhutani
Copy link
Member

@chinmaym07 there are conflicts. can you rebase once?

@vinayaksh42
Copy link
Member

@shrinishant I think this PR is same as #71, you should close this PR if it is no longer required.

@vinayaksh42
Copy link
Member

Closing this PR as it is same as - #71

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.

5 participants