Skip to content

Commit

Permalink
Merge pull request #2636 from SUI-Components/feat/video-player-title
Browse files Browse the repository at this point in the history
feat(components/atom/videoPlayer): Add title prop to the video player
  • Loading branch information
oegea authored Sep 26, 2023
2 parents 2358451 + 4cf963f commit 86de08a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/atom/videoPlayer/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const AtomVideoPlayer = forwardRef(
onLoadVideo = NO_OP,
src = '',
timeLimit,
title,
timeOffset
},
forwardedRef = createRef()
Expand All @@ -37,6 +38,7 @@ const AtomVideoPlayer = forwardRef(
onLoadVideo,
src,
timeLimit,
title,
timeOffset
})

Expand Down Expand Up @@ -79,6 +81,7 @@ AtomVideoPlayer.propTypes = {
onLoadVideo: PropTypes.func,
src: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
timeLimit: PropTypes.number,
title: PropTypes.string,
timeOffset: PropTypes.number
}

Expand Down

0 comments on commit 86de08a

Please sign in to comment.