lbry-desktop/src/ui/page/following/view.jsx

27 lines
695 B
React
Raw Normal View History

// @flow
import React from 'react';
import Page from 'component/page';
import TagsSelect from 'component/tagsSelect';
import ClaimList from 'component/claimList';
type Props = {
2019-06-27 08:18:45 +02:00
subscribedChannels: Array<Subscription>,
};
2019-06-27 08:18:45 +02:00
function FollowingEditPage(props: Props) {
const { subscribedChannels } = props;
2019-06-27 08:18:45 +02:00
const channelUris = subscribedChannels.map(({ uri }) => uri);
return (
<Page>
<div className="card">
2019-06-28 09:33:07 +02:00
<TagsSelect showClose={false} title={__('Customize Your Tags')} />
</div>
<div className="card">
2019-06-28 09:33:07 +02:00
<ClaimList header={<h1>{__('Channels You Follow')}</h1>} uris={channelUris} />
</div>
</Page>
);
}
2019-06-27 08:18:45 +02:00
export default FollowingEditPage;