diff --git a/app/app/components/chord-diagram/chord-grid.tsx b/app/app/components/chord-diagram/chord-grid.tsx new file mode 100644 index 0000000..6a62569 --- /dev/null +++ b/app/app/components/chord-diagram/chord-grid.tsx @@ -0,0 +1,47 @@ +import { ChordDiagram } from './chord-diagram'; +import type { Instrument } from './chord-diagram'; + +interface Props { + chords: string[]; + instrument: Instrument; + onInstrumentChange: (i: Instrument) => void; +} + +export function ChordGrid({ chords, instrument, onInstrumentChange }: Props) { + if (chords.length === 0) return null; + + return ( +