0.1.70 • Published 1 year ago
mycelium-music-modal v0.1.70
Mycelium - Music Modal
Music modal for Mycelium Swaps Project
Installation
Install my-project with npm
npm install mycelium-music-modal
or
yarn add mycelium-music-modal
Usage/Examples
import React, { useContext } from "react";
import { MusicPlayerContext, MusicPlayerProvider } from "mycelium-music-modal";
function Component() {
const { togglePlayer } = useContext(MusicPlayerContext);
return (
<button onClick={togglePlayer}>Open Music Modal</button>
)
}
function App() {
return (
<MusicPlayerProvider>
<Component />
</MusicPlayerProvider>
)
}
0.1.70
1 year ago
0.1.634
1 year ago
0.1.633
1 year ago
0.1.632
1 year ago
0.1.631
1 year ago
0.1.63
1 year ago
0.1.62
1 year ago
0.1.61
1 year ago
0.1.6
1 year ago
0.1.581
1 year ago
0.1.58
1 year ago
0.1.57
1 year ago
0.1.56
1 year ago
0.1.55
1 year ago
0.1.51
1 year ago
0.1.5
1 year ago
0.1.41
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago