@apollo-office/drawing-ui
v1.0.0
Published
Shared drawing UI components and services for Univer.
Maintainers
Readme
@apollo-office/drawing-ui
@apollo-office/drawing-ui provides common drawing UI services and components that document- or sheet-specific drawing packages build on.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
| --- | --- | :---: | :---: | :---: |
| @apollo-office/drawing-ui | UniverDrawingUi | Yes | Yes | No |
Installation
pnpm add @apollo-office/drawing-ui
# or
npm install @apollo-office/drawing-uiKeep all @univerjs/* packages on the same version.
Usage
import '@apollo-office/drawing-ui/lib/index.css';
import EnUS from '@apollo-office/drawing-ui/locale/en-US';
import { UniverDrawingUIPlugin } from '@apollo-office/drawing-ui';
univer.registerPlugin(UniverDrawingUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.