diff --git a/modules/index/index.message.tsx b/modules/index/index.message.tsx index 867220b4..055f637c 100644 --- a/modules/index/index.message.tsx +++ b/modules/index/index.message.tsx @@ -1,3 +1,6 @@ +// deno-lint-ignore-file no-explicit-any +import { useState } from "preact/hooks"; + export function Message( props: { id: string; @@ -8,6 +11,32 @@ export function Message( idx: number; }, ) { + const [show, setShow] = useState(false); + + function handleClick(id: string) { + setShow(!show); + } + + function handleForward(id: string): void { + throw new Error("Function not implemented."); + } + + function handleDelete(id: string): void { + throw new Error("Function not implemented."); + } + + function handlePin(id: string): void { + throw new Error("Function not implemented."); + } + + function handleReplyPrivately(id: string): void { + throw new Error("Function not implemented."); + } + + function handleReply(id: string): void { + throw new Error("Function not implemented."); + } + return (
  • }
    @@ -41,13 +70,17 @@ export function Message(
    +
    handleReply(props.id)} + > + Reply +
    +
    handleReplyPrivately(props.id)} + > + Reply Privately +
    +
    handlePin(props.id)} + > + Pin +
    +
    handleDelete(props.id)} + > + Delete +
    +
    handleForward(props.id)} + > + Forward +
    +
  • );