clickable components use `div` vice `button`
nickfrosty opened this issue · comments
Problem
Many of the included components that are meant to be clickable (and have an onClick
handler) use a div
component. Since they are using a div
, browsers will not provide the normal functionality on the intractable components (like the correct cursor or allowing them to be focused)
Proposed Solution
These clickable component should be use button
component so browser can handle them correctly, providing a better user experience.