Skip to content

Commit

Permalink
Remove defaultProps, handled by default arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Apr 20, 2022
1 parent 7f8a5c4 commit 5476e9e
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,21 +409,4 @@ if (process.env.NODE_ENV !== 'production') {
};
}

YouTube.defaultProps = {
autoplay: false,
showCaptions: false,
controls: true,
disableKeyboard: false,
allowFullscreen: true,
annotations: true,
modestBranding: false,
playsInline: false,
showRelatedVideos: true,
onCued: () => {},
onBuffering: () => {},
onPlaying: () => {},
onPause: () => {},
onEnd: () => {},
};

export default YouTube;

0 comments on commit 5476e9e

Please sign in to comment.