Closed jmgaya closed 6 years ago
Right now, only Button component is able to handle onClick events. Some other components (like, for example, Icon) could receive functions as props for being able to respond properly to changes.
Improved by using spread operator in function headers, and passing those spread properties right through.
Right now, only Button component is able to handle onClick events. Some other components (like, for example, Icon) could receive functions as props for being able to respond properly to changes.