Skip to content

Commit 86a3998

Browse files
committed
Fix README typo in import statement
1 parent 5d1661f commit 86a3998

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A React MIDI player component with HTML5 audio player styling. Built on top of [WebAudioFont](https://github.com/surikov/webaudiofont) by Sergey Surikov and inspired by [javascript-midi-player](https://github.com/fraigo/javascript-midi-player) by fraigo.
44

5-
## 🎵 [Live Demo](https://shimondoodkin.github.io/react-midi-player)
5+
## 🎵 [Live Demo](https://shimondoodkin.github.io/react-midi-player2)
66

77
## Features
88

@@ -64,7 +64,7 @@ npm install react-midi-player
6464
Or install from GitHub:
6565

6666
```bash
67-
npm install shimondoodkin/react-midi-player
67+
npm install shimondoodkin/react-midi-player2
6868
```
6969

7070
## Usage
@@ -75,7 +75,7 @@ The component accepts a file externally (similar to HTML5 audio element):
7575

7676
```tsx
7777
import { useState } from 'react';
78-
import { MIDIPlayer } from 'react-midi-player;
78+
import { MIDIPlayer } from 'react-midi-player2';
7979

8080
function MyComponent() {
8181
const [file, setFile] = useState<File | null>(null);

0 commit comments

Comments
 (0)