Skip to content

Latest commit

 

History

History

thread-comment-ui

README.md

@univerjs/thread-comment-ui

npm version license downloads

@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 Worker entry
@univerjs/thread-comment-ui UniverThreadCommentUi Yes Yes No No

Installation

pnpm add @univerjs/thread-comment-ui
# or
npm install @univerjs/thread-comment-ui

Usage

Start with the integration setup for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.

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.

Resources