mirror of
https://github.com/dream-num/univer.git
synced 2026-10-02 04:24:34 +08:00
42 lines
1.4 KiB
Markdown
42 lines
1.4 KiB
Markdown
# @univerjs/sheets-table-ui
|
|
|
|
[](https://npmjs.com/package/@univerjs/sheets-table-ui)
|
|
[](https://npmjs.com/package/@univerjs/sheets-table-ui)
|
|
[](https://npmjs.com/package/@univerjs/sheets-table-ui)
|
|
|
|
`@univerjs/sheets-table-ui` adds table UI interactions for Univer Sheets, including menus and controls for table-related workflows.
|
|
|
|
## Package Overview
|
|
|
|
| Package | UMD global | CSS | Locales | Facade entry |
|
|
| --- | --- | :---: | :---: | :---: |
|
|
| `@univerjs/sheets-table-ui` | `UniverSheetsTableUi` | Yes | Yes | No |
|
|
|
|
## Installation
|
|
|
|
```sh
|
|
pnpm add @univerjs/sheets-table-ui
|
|
# or
|
|
npm install @univerjs/sheets-table-ui
|
|
```
|
|
|
|
Keep all `@univerjs/*` packages on the same version.
|
|
|
|
## Usage
|
|
|
|
```ts
|
|
import '@univerjs/sheets-table-ui/lib/index.css';
|
|
import EnUS from '@univerjs/sheets-table-ui/locale/en-US';
|
|
import { UniverSheetsTableUIPlugin } from '@univerjs/sheets-table-ui';
|
|
|
|
univer.registerPlugin(UniverSheetsTableUIPlugin);
|
|
|
|
// Merge EnUS into your Univer locale map when this package contributes UI text.
|
|
```
|
|
|
|
## Resources
|
|
|
|
- [Documentation](https://docs.univer.ai)
|
|
- [NPM package](https://npmjs.com/package/@univerjs/sheets-table-ui)
|
|
- [GitHub repository](https://github.com/dream-num/univer)
|