mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
feat(subplebbit): add feed, posts
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export { default } from './post';
|
||||
@@ -0,0 +1,3 @@
|
||||
.thread {
|
||||
clear: both;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Comment } from '@plebbit/plebbit-react-hooks';
|
||||
import styles from './post.module.css';
|
||||
|
||||
const Post = ({ post }: Comment) => {
|
||||
const { content, link, title } = post;
|
||||
return (
|
||||
<div>
|
||||
<hr />
|
||||
<h1>{post.title}</h1>
|
||||
<p>{post.content}</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Post;
|
||||
Reference in New Issue
Block a user