HTML Button element has a type attribute, AeButton should be able to proxy value of this attribute to the underlying Button component, but actually type property is already used for AeButton style (color/background-color). We should rename type property of AeButton or introduce one more property for this reason.
In my opinion to use type property for type attribute of <button /> is better because it is consistent with HTML buttons.
HTML Button element has a
type
attribute, AeButton should be able to proxy value of this attribute to the underlying Button component, but actuallytype
property is already used for AeButton style (color
/background-color
). We should renametype
property of AeButton or introduce one more property for this reason.In my opinion to use
type
property fortype
attribute of<button />
is better because it is consistent with HTML buttons.