NMF-earth / nmf-app

Understand and reduce your carbon footprint 🌱 iOS & Android.
https://nmf.earth
GNU General Public License v3.0
508 stars 157 forks source link

Button component update #314

Closed PierreBresson closed 3 years ago

PierreBresson commented 3 years ago

Summary

In the button component, add two props, one optional for the icon to display and another one, mandatory, for the text to display in order to no longer wrap the text component. It means a lot of refactoring but it should be pretty easy. Text should be primary

Screenshot 2021-09-23 at 16 57 12 Screenshot 2021-09-23 at 16 58 59

BhandarkarPawan commented 3 years ago

I can work on this issue. Please assign it.

PierreBresson commented 3 years ago

https://github.com/NMF-earth/nmf-app/commit/413fec6f93ed9a02f9a46ac25c80ad80f312acd9