added support for showOctaveNumber property

This commit is contained in:
Clément Le Bihan
2023-03-19 18:06:52 +01:00
parent 6a10ad2398
commit a9cd0f16ae
2 changed files with 21 additions and 1 deletions
@@ -53,6 +53,7 @@ const VirtualPiano = ({
key={octaveNum}
number={octaveNum}
showNoteNames={showNoteNames}
showOctaveNumber={showOctaveNumbers}
startNote={octaveNum == startOctave ? startNote : notesList[0]}
endNote={octaveNum == endOctave ? endNote : notesList[notesList.length - 1]}
onNoteDown={onNoteDown}