Closed SamyPesse closed 7 years ago
Instead we should use <Icon id=".." /> as a children of the button.
<Icon id=".." />
So that we can improve the <Icon /> component and do not depend on setting the className instead of id.
<Icon />
className
id
We can use https://www.npmjs.com/package/react-is-deprecated for deprecation.
Instead we should use
<Icon id=".." />
as a children of the button.So that we can improve the
<Icon />
component and do not depend on setting theclassName
instead ofid
.We can use https://www.npmjs.com/package/react-is-deprecated for deprecation.