Added PreviewCardItem to LinkTimeline
• Added: - PreviewCardItem to LinkTimeline
This commit is contained in:
parent
58ced8f903
commit
0a1ee8224c
@ -12,6 +12,7 @@ import StatusList from '../components/status_list'
|
|||||||
import ColumnIndicator from '../components/column_indicator'
|
import ColumnIndicator from '../components/column_indicator'
|
||||||
import Button from '../components/button'
|
import Button from '../components/button'
|
||||||
import Text from '../components/text'
|
import Text from '../components/text'
|
||||||
|
import PreviewCardItem from '../components/preview_card_item'
|
||||||
|
|
||||||
class LinkTimeline extends ImmutablePureComponent {
|
class LinkTimeline extends ImmutablePureComponent {
|
||||||
|
|
||||||
@ -77,12 +78,15 @@ class LinkTimeline extends ImmutablePureComponent {
|
|||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<React.Fragment>
|
||||||
|
<PreviewCardItem id={id} />
|
||||||
<StatusList
|
<StatusList
|
||||||
scrollKey='link_timeline'
|
scrollKey='link_timeline'
|
||||||
timelineId={`link:${id}`}
|
timelineId={`link:${id}`}
|
||||||
onLoadMore={this.handleLoadMore}
|
onLoadMore={this.handleLoadMore}
|
||||||
emptyMessage={emptyMessage}
|
emptyMessage={emptyMessage}
|
||||||
/>
|
/>
|
||||||
|
</React.Fragment>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user