npm.io
0.25.1 • Published 51m ago

@univerjs/thread-comment-ui

Licence
Apache-2.0
Version
0.25.1
Deps
6
Size
247 kB
Vulns
0
Weekly
0

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

Installation

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

Keep 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.

Resources

Keywords