Constructor
# <ChoirOptionCard iconSrc name cardColor onClick />
Renders the ChoirOptionCard.
Used to render a choir card that offers some option (e.g. add a new choir).
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
iconSrc |
string | Yes | The file path to the icon | |
name |
string | Yes | The option name | |
cardColor |
enum | Yes | The card's background color. See options. | |
onClick |
func | Yes | Click handler for the card |