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