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.
|
- import * as React from 'react';
-
- export interface ScoreProps {
- id: string;
- alt: string;
- }
-
- export const Score: React.FC<ScoreProps> = ({
- id,
- alt,
- }) => {
- return (
- <a href={`scores/${id}.musicxml`}>
- <img src={`scores/${id}.svg`} alt={alt} />
- </a>
- )
- };
|