0.0.1-alpha.10 • Published 3 years ago
@playnode/react-music-components v0.0.1-alpha.10
Playnode React Music Components
Browser JS to render a music website from JSON data description.
See example upstream project using this component library that you can fork, and customise for your own website.
See this example as a demo provided & customised by project developer.
Usage summary
Install the package:
npm install @playnode/react-music-components
Add the App component to a React project. See full example in upstream project linked above.
import React from "react";
import ReactDOM from "react-dom";
import { App } from "@playnode/react-music-components";
const config = {
"displayName": "Playnode Music Website",
"firstName": "",
"lastName": "",
"city": "",
"country": "",
"avatar": "images/profile-avatar-200x200.png",
"banner": "images/profile-banner-1240x260.jpg",
"description": "Hello, World!",
"infoHtml": "",
"links": [
{
"title": "Playnode.org",
"href": "http://playnode.org/"
}
],
"tracks": [
{
"artist": "Steven Robertson",
"title": "Test",
"pubDate": "Sat, 24 Jun 2017 13:21:15 GMT",
"slug": "test",
"stream": "test.mp3",
"duration": 0,
"waveform": ""
}
]
};
ReactDOM.render(<App data={config}/>, document.getElementById('root'));
License
0.0.1-alpha.10
3 years ago
0.0.1-alpha.9
3 years ago
0.0.1-alpha.8
3 years ago
0.0.1-alpha.7
3 years ago
0.0.1-alpha.6
3 years ago
0.0.1-alpha.5
3 years ago
0.0.1-alpha.4
3 years ago
0.0.1-alpha.3
3 years ago
0.0.1-alpha.2
3 years ago
0.0.1-alpha.1
3 years ago
0.0.1-alpha.0
3 years ago