Skip to content

Commit 5476e9e

Browse files
committed
Remove defaultProps, handled by default arguments
1 parent 7f8a5c4 commit 5476e9e

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/index.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -409,21 +409,4 @@ if (process.env.NODE_ENV !== 'production') {
409409
};
410410
}
411411

412-
YouTube.defaultProps = {
413-
autoplay: false,
414-
showCaptions: false,
415-
controls: true,
416-
disableKeyboard: false,
417-
allowFullscreen: true,
418-
annotations: true,
419-
modestBranding: false,
420-
playsInline: false,
421-
showRelatedVideos: true,
422-
onCued: () => {},
423-
onBuffering: () => {},
424-
onPlaying: () => {},
425-
onPause: () => {},
426-
onEnd: () => {},
427-
};
428-
429412
export default YouTube;

0 commit comments

Comments
 (0)