HomePhabricator

[Cashtab] Patch ts bug in button components and propagate type

Description

[Cashtab] Patch ts bug in button components and propagate type

Summary:
Something else discovered in D17074 but not directly related

The disabled prop is optional, we do not require disabled prop on every button.

The name prop is required for CopyIconButton. Propagate this.

Note this was not caught until D17074 because tslinter only finds this in ts files, and Cashtab has not completely converted yet.

Test Plan: npm test

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Differential Revision: https://reviews.bitcoinabc.org/D17103

Details

Provenance
bytesofmanAuthored on Fri, Nov 8, 13:01
bytesofmanPushed on Fri, Nov 8, 13:45
Reviewer
Restricted Project
Differential Revision
D17103: [Cashtab] Patch ts bug in button components and propagate type
Parents
rABC6a007629e7b5: [Cashtab] Patch unit test in wallet
Branches
Unknown
Tags
Unknown