Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Youtube in React: video info box markup that applies dynamic styling
render() {
/* ... */
return (
<div>
<div className='video-info-box'>
{/* ... */}
<div className="video-description">
<div className={descriptionTextClass}>
{descriptionParagraphs}
</div>
<Button compact onClick={this.onToggleCollapseButtonClick}>{buttonTitle}</Button>
</div>
</div>
<Divider/>
</div>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.