Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Subscriptions section in Youtube Sidebar
import React from 'react';
import {Subscription} from "./Subscription/Subscription";
import {Divider} from "semantic-ui-react";
import {SideBarHeader} from '../SideBarHeader/SideBarHeader';
export class Subscriptions extends React.Component {
render() {
return (
<React.Fragment>
<SideBarHeader title='Subscriptions'/>
<Subscription label='MusicChannel' broadcasting/>
<Subscription label='Coursea' amountNewVideos={10}/>
<Subscription label='TEDx Talks' amountNewVideos={23}/>
<Subscription label='Stanford iOS' amountNewVideos={4}/>
<Subscription label='Udacity' amountNewVideos={114}/>
<Divider/>
</React.Fragment>
);
}
}
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.