Example jsdoc
This commit is contained in:
parent
d2fd1a17ed
commit
9e302fc54a
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,11 @@ import { JSXElement, Show, createSignal, onMount, useContext } from "solid-js";
|
|||
import { LoginContext } from "../Context/GlobalState";
|
||||
import { NewComment, createComment } from "../Util/api";
|
||||
|
||||
/** NewCommentInputArea is a component that allows users to submit a comment on a **post or comment**.
|
||||
* @param {Object} props The properties for the NewCommentInputArea component.
|
||||
* @param {number} props.parentPostId The id of the post that the comment is a reply to.
|
||||
* @returns {JSXElement} A JSXElement that contains a textarea and a submit button.
|
||||
*/
|
||||
export function NewCommentInputArea({
|
||||
parentPostId,
|
||||
}: {
|
||||
|
|
Loading…
Add table
Reference in a new issue