Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA comment that its author can edit in place with Ctrl+Enter to save, an Edited label with the time and an empty-text guard.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use this when threads, reviews and notes let authors correct their own text after posting.
Do not use it when edits must keep a visible history for compliance (show a diff and revisions instead).
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Required | Description |
|---|---|---|---|
author | string | required | - |
text | string | required | - |
canEdit | boolean | required | Only the author can edit; others see plain text. |
onEdit | (next: string) => Promise<string | void> | required | Saves the new text. Return the time label for "Edited", for example "just now". |
edited | string | optional | - |
The pattern ships with a Testing Library test (inline-edit-comment.test.tsx) that covers the read-only view, saving with the keyboard and the empty-comment guard.