TeamRaccoons / Unified-Wallet-Kit

Unified Wallet Kit is an open-sourced, Swiss Army Knife wallet adapter, striving for the best wallet integration experience for developers, and best wallet experience for your users.

Home Page:http://unified.jup.ag

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.