moderator-toolbox-nxg-for-reddit / modules/commentActions/components/CommentActions
modules/commentActions/components/CommentActions¶
Functions¶
CommentExtras()¶
CommentExtras(
__namedParameters):Element
Defined in: extension/data/modules/commentActions/components/CommentActions.tsx:121
Reply (drives the native composer) and the ⋯ Expand toggle for the native row.
Parameters¶
__namedParameters¶
Returns¶
Element
CommentVote()¶
CommentVote(
__namedParameters):Element
Defined in: extension/data/modules/commentActions/components/CommentActions.tsx:58
Upvote/downvote arrows with a live score. Clicking drives Reddit’s native vote button and updates the displayed score optimistically (reverting if the native control can’t be found).
Parameters¶
__namedParameters¶
Returns¶
Element
Interfaces¶
CommentControlProps¶
Defined in: extension/data/modules/commentActions/components/CommentActions.tsx:49
Props shared by the comment-control pieces.
Properties¶
comment¶
comment:
Element
Defined in: extension/data/modules/commentActions/components/CommentActions.tsx:51
The shreddit-comment element, used to read state and drive/collapse the native row.