Constructor
# <ChoirCard headerImgSrc name description cardColor onClick />
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
headerImgSrc |
string | No | The path to the header image | |
name |
string | Yes | The choir's name | |
description |
string | No | The choir's description | |
cardColor |
enum | Yes | The card's background color. See options. | |
onClick |
func | No | Click handler for the card |
Extends
- Component
Members
# state
ChoirCard component state
Properties:
Name | Type | Description |
---|---|---|
choirImgLoadingError |
boolean | Indicates if there was an error loading the choir's image |