Defines a Button component
Defines the emphasis of the button
Defines the content of the button
Returns a view of a button
This should be used whenever possible.
You can use customView if you need to
customize the button.
Returns a custom view of a button.
A view of an icon button which can be useful when we have little space
Defines the available button colors
Primary: used to get users main focusSecondary: used as an accent toPrimaryWarn: used to indicate a destructive and/or dangerous action