Skip to content

micnews/deku-youtube-subscribe-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

YouTube subscribe button deku component

Resources

Stars

Watchers

Forks

Packages

No packages published