Merge pull request #32090 from salguerooo/master

[react-youtube] adding containerClassName to YouTube component
This commit is contained in:
Daniel Rosenwasser
2019-01-18 13:21:52 -08:00
committed by GitHub
+3 -1
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,