@univerjs/thread-comment-ui
v0.25.0
Published
Shared thread comment UI components and services for Univer.
Readme
@univerjs/thread-comment-ui
@univerjs/thread-comment-ui provides common thread comment UI components and services shared by Docs and Sheets integrations.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
| --- | --- | :---: | :---: | :---: |
| @univerjs/thread-comment-ui | UniverThreadCommentUi | Yes | Yes | No |
Installation
pnpm add @univerjs/thread-comment-ui
# or
npm install @univerjs/thread-comment-uiKeep all @univerjs/* packages on the same version.
Usage
import '@univerjs/thread-comment-ui/lib/index.css';
import EnUS from '@univerjs/thread-comment-ui/locale/en-US';
import { UniverThreadCommentUIPlugin } from '@univerjs/thread-comment-ui';
univer.registerPlugin(UniverThreadCommentUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.Integration Notes
Product-specific packages such as @univerjs/sheets-thread-comment-ui and @univerjs/docs-thread-comment-ui build on this shared UI layer.
