react-soundcloud-player
v1.1.1
Published
A simple SoundCloud player.
Downloads
19
Maintainers
Readme
react-soundcloud-player
react-soundcloud-player is a simple SoundCloud player.
For a soundcloud player using the Widget API check out react-soundcloud-widget-player
Installation
yarn add react-soundcloud-player
Usage
import Player from 'react-soundcloud-player'
import ReactDOM from 'react-dom'
import React, { Component } from 'react'
class TestComponent extends Component {
render() {
return (
<div>
<Player
client_id="c5a171200f3a0a73a523bba14a1e0a29"
audio_id="193179003"
title="Easyfun - Fanta"
/>
</div>
)
}
}
ReactDOM.render(<TestComponent />, document.getElementById('root'))
Styles
Uses styled-components 💅 for the base styling.
Development
yarn
yarn dev
Test
yarn test
Build
yarn
yarn build
Publish
npm login
npm version patch
git add -A
git push origin master
npm publish