Altalogy / tari

The Tari protocol
https://tari.com
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

feat: monero address validation #300

Closed tomaszantas closed 2 years ago

tomaszantas commented 2 years ago

Description

(2) - Because not all inputs have to handle errors and have this margin-bottom, the Input component has a new optional prop: withError = true. If set to false, Input is rendered with no extra spacing.

Motivation and Context

235

How Has This Been Tested?

New address in settings:

image

Docker inspect:

image

Spacing for the error in the Input component:

https://user-images.githubusercontent.com/11715931/174777324-37a3ce8d-c051-4eb3-b4d6-2fee2e521931.mov

https://user-images.githubusercontent.com/11715931/174777557-2414ea1d-3336-46e6-b8b7-5e9f5a732993.mov