Closed vahissan closed 3 years ago
I was getting TypeScript errors when I tried to set regular HTML attributes like tabIndex and onKeyDown props to the Icon component. Since those additional props are working fine functionally, I think it's better to add this to the type declaration.
tabIndex
onKeyDown
I was getting TypeScript errors when I tried to set regular HTML attributes like
tabIndex
andonKeyDown
props to the Icon component. Since those additional props are working fine functionally, I think it's better to add this to the type declaration.