import React from "react"; import { Segment, Header, Image, Label, Icon, Modal } from "semantic-ui-react"; import Moment from "react-moment"; import "moment/locale/es"; const ImageModal = ({ href, trigger }) => ( ); const Post = ({ index, post, locked, dir }) => { const filesize = require('filesize'); let user_id = post.timestamp_formatted.split(" ID:")[1]; return (
#{index + 1} {post.name}{post.tripcode} {user_id ? : null}
{post.file !== "" ? } /> : null}
{locked ? null : ()} ); } export default Post;