0.0.6 • Published 1 year ago

react-lazyload-youtube-ts v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-lazyload-youtube-ts

Super lightweight LazyLoad YouTube Videos for faster page load and better performance This is the same package as react-lazyload-youtube but with typescript and styled components, so no css import nessesary

Install

npm install react-lazyload-youtube-ts

or

yarn add react-lazyload-youtube-ts

Usage

import  Youtube  from 'react-lazyload-youtube-ts'

const App = () => {
  return (
    <div style={{width: '400px', height: '200px'}}>
      <Youtube videoId="mfxQy5A_tHs"/>
    </div>
  )
}

Props

  • videoId - string (Youtube Video ID)

License

MIT © auryn31

Buy me a coffee ☕️

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago