Comment thread
import { CommentThread } from "@arcadia/ui";CommentThread
staterequired- ReactNode
- Whose turn it is, in the kit's CommentState.
selection- { lines: readonly string[]; elements: number; found?: number }
- Its selection's lines, which fold. Left out for a comment on a frame, a mark or a point.
actions- ReactNode
- The comment's acts, as buttons: Give to, Take, Mark done, Reopen.
composer- ReactNode
- The product's composer, at the foot.
onClose- () => void
- Shows the close button.
title- string
- Default:
"Comment" - Its name for assistive technology.
rootStyle- RootStyle
- Typed StyleX override: where the thread sits (layout only).
children- ReactNode
- The product's messages: its chat for the comment's thread, which scrolls itself in the room the frame leaves it.
Rest props go to <section> props.
State machine
Scout is working
Opened by Maya Chen
Held by Scout, for Maya Chen
e1 button: Deploy
Opened by Maya
Held by Scout, for Maya