import React, {PureComponent} from 'react'; import {TimestampEvent} from "../types/types"; import '../css/feeditem.sass' import shot from "../img/shot.png"; import song from "../img/song.png"; import talk from "../img/talk.png"; import time from "../img/time.png"; const images = { shot, song, talk, time }; class FeedItem extends PureComponent<{item: TimestampEvent}> { render() { // console.log('feeditem render'); return (
{this.props.item.text[0]}
{this.props.item.text[1]}
); } } export default FeedItem;