Skip to content
Advertisement

Suggestion to refactor code into simple way -React

I have multiple with the same class name and method with different parameter i want to refactor the below code to a simpler way any suggestion would be helpful.

JavaScript

I want to refactor the code with the same component.

Advertisement

Answer

I hope this would be helpful. thanks

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement