adding containerClassName to YouTube component

This commit is contained in:
Leo Salgueiro 2019-01-12 21:01:47 -08:00
parent 3a69de74e2
commit 8f2cb35fa8
No known key found for this signature in database
GPG Key ID: 06E1B016B5C30256

View File

@ -1,6 +1,7 @@
// Type definitions for react-youtube 7.4
// Type definitions for react-youtube 7.6
// Project: https://github.com/troybetz/react-youtube
// Definitions by: kgtkr <https://github.com/kgtkr>
// Leo Salgueiro <https://github.com/salguerooo>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
// TypeScript Version: 2.8
@ -39,6 +40,7 @@ export default class YouTube extends React.Component<{
videoId?: string,
id?: string,
className?: string,
containerClassName?: string,
opts?: Options,
onReady?(event: { target: any }): void,
onError?(event: { target: any, data: number }): void,