Piano notes book, powered by Astro and React.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

18 righe
264 B

  1. import * as React from 'react';
  2. export interface ScoreProps {
  3. id: string;
  4. alt: string;
  5. }
  6. export const Score: React.FC<ScoreProps> = ({
  7. id,
  8. alt,
  9. }) => {
  10. return (
  11. <a href={`scores/${id}.musicxml`}>
  12. <img src={`scores/${id}.svg`} alt={alt} />
  13. </a>
  14. )
  15. };