Constructor
# <ButtonContainer className type value onClick />
Renders the ButtonContainer component.
NOTE: This component is only used to compose other buttons in the Buttons folder.
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
className |
string | No | A string containing one or more class names. The SCSS styles will come from the parent's stylesheet. | |
type |
enum | Yes | The button's type (HTML type). See types. | |
value |
string | Yes | The button's value (HTML value) | |
onClick |
func | No | Button click handler |