Constructor
# <MusicPerformanceHeader numberOfMeasures switchToPractice switchToExercise />
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
numberOfMeasures |
string | Yes | The number of measures in the current piece of sheet music | |
switchToPractice |
func | Yes | Switches to the practice view | |
switchToExercise |
func | Yes | Switches to the exercise view |
Extends
- Component
Members
# state
MusicPerformanceHeader component state
Properties:
Name | Type | Description |
---|---|---|
shouldDisplayExerciseGenerator |
boolean | Indicates of the exercise generator should be displayed |