chore: change comment box placeholder (#5042)

This commit is contained in:
Aaryan Khandelwal
2024-07-04 16:21:05 +05:30
committed by GitHub
parent 5918607171
commit 2b570da890

View File

@@ -39,6 +39,7 @@ export const LiteTextEditor = React.forwardRef<EditorRefApi, LiteTextEditorWrapp
showAccessSpecifier = false,
showSubmitButton = true,
isSubmitting = false,
placeholder = "Add comment...",
...rest
} = props;
// store hooks
@@ -81,8 +82,9 @@ export const LiteTextEditor = React.forwardRef<EditorRefApi, LiteTextEditorWrapp
highlights: mentionHighlights,
suggestions: mentionSuggestions,
}}
{...rest}
placeholder={placeholder}
containerClassName={cn(containerClassName, "relative")}
{...rest}
/>
<IssueCommentToolbar
accessSpecifier={accessSpecifier}