Page MenuHomePhabricator

[Cashtab] Add disabled button component & use in Send.js
AbandonedPublic

Authored by kieran709 on Mar 30 2022, 15:15.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Summary

Related to task T2359. In a previous revision, the SecondaryButton styled component was changed to show the disabled symbol on hover, however since this button is used in different contexts throughout the app, this revision sets the desired cursor in Send.js, but not elsewhere in the app where the button requires a pointer cursor.

Test Plan

cd web/cashtab-v2 && npm start
in a private browser, hover over the import wallet button on the home screen
the cursor should be a pointer
in a non-private browser
navigate to the send screen
add invalid eCash address or invalid XEC amount
over over the send button
observe the disabled symbol on the send button.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
master
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18677
Build 37145: Build Diffcashtab-tests
Build 37144: arc lint + arc unit