diff --git a/client-solid/src/Components/Buttons/RemovePostButton.tsx b/client-solid/src/Components/Buttons/RemovePostButton.tsx new file mode 100644 index 0000000..3d53908 --- /dev/null +++ b/client-solid/src/Components/Buttons/RemovePostButton.tsx @@ -0,0 +1,19 @@ +import { JSXElement } from "solid-js"; + +import { RemovePostIcon } from "../../Util/Icons"; +import { Post } from "../../Util/api"; + +export default function RemovePostButton({ post }: { post: Post }): JSXElement { + return ( + <> +
{dateOfCreation}
-{dateOfCreation}
+This post has been edited
{post.content}
+{post.content}