UNPKG

infobae-react-youtube-lazy

Version:

After seeing many similar packages none of the had exactly what was needed for my development. Most didn't have a lazyload features, and tryin to implement broke the component, and other simply plugged the videoID you provided into youtube embed iframe. S

26 lines (23 loc) 546 B
declare module "react-youtube-lazy" { import * as React from "react"; export interface ReactYoutubeProps { height?: number | string; width?: number | string; lazyload?: boolean | string; lazyloadSize?: number; transition?: string; duration?: any; color?: string; thumbnailRes?: string; thumbnailId?: string; youtubeOptions?: object; videoID?: string; URL?: string; } export default class ReactYoutube extends React.Component< ReactYoutubeProps, any > { render(): any; } }