Constructor
# <MusicCard title composers cardColor onViewSongClick onViewPerformanceClick />
Renders the MusicCard component
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
title |
string | Yes | The title of the music | |
composers |
string | Yes | A string containing all composer(s) | |
cardColor |
enum | Yes | The background color of the card. See options. | |
onViewSongClick |
func | Yes | Click handler for viewing (i.e. practicing) the song | |
onViewPerformanceClick |
func | Yes | Click handler for viewing the performance for the selected song |