uxilab / uxi

UXI Core components - https://twitter.com/uxi_lab
https://www.uxilab.eu/
5 stars 1 forks source link

Button props consistency #32

Closed denisflorkin closed 5 years ago

denisflorkin commented 5 years ago

Button accepts text, children or message as the button value (in the DOM, a button has a value, which would be overwritten by children) uxi Button should get closer to this more known api/behaviour for Button.

use value exclusively for Button (instead of text, message children), and if children and value are passed, use children

denisflorkin commented 5 years ago

LEt's keep it like that for now