deku-youtube-subscribe-button

1.1.2 • Public • Published

deku-youtube-subscribe-button

YouTube subscribe button for deku. Docs https://developers.google.com/youtube/youtube_subscribe_button.

Usage

npm install deku-youtube-subscribe-button

Requires youtube script added to the page and loaded before the deku-script:

<script src="https://apis.google.com/js/platform.js"></script>
import YoutubeSubscribeButton from 'deku-youtube-subscribe-button';
 
export function render () {
  return <YoutubeSubscribeButton channel-id='myChannelId' />;
}

Attributes

channel-id

YouTube channel ID

Readme

Keywords

none

Package Sidebar

Install

npm i deku-youtube-subscribe-button

Weekly Downloads

2

Version

1.1.2

License

MIT

Last publish

Collaborators

  • danmakenoise
  • ellell
  • iefserge
  • kesla