Constructor
# <TextButton type value text textColor onClick />
Renders the TextButton component
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
type |
enum | Yes | The button's type (HTML type). See types. | |
value |
string | Yes | The button's value (HTML value) | |
text |
string | Yes | The text to display in the button | |
textColor |
enum | Yes | The button's text color. See options. | |
onClick |
func | No | Button click handler |