1.1.2 • Published 8 years ago

deku-youtube-subscribe-button v1.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

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

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.0

8 years ago