The threaded comments on a sheet, in reading order, kept current.
The sheet, or null for none.
null
Optional
UseSheetCommentsOptions
Notes are not threads and are left out. The array keeps its identity until a comment on the sheet is added, removed, moved, edited, replied to or resolved.
const open = useSheetComments(sheet, { resolved: false });return <ul>{open.map((comment) => <li key={comment.getId()}>{comment.getContent()}</li>)}</ul>; Copy
const open = useSheetComments(sheet, { resolved: false });return <ul>{open.map((comment) => <li key={comment.getId()}>{comment.getContent()}</li>)}</ul>;
The threaded comments on a sheet, in reading order, kept current.