# @univerjs/preset-sheets-collaboration

[![npm version](https://img.shields.io/npm/v/@univerjs/preset-sheets-collaboration?style=flat-square)](https://npmjs.com/package/@univerjs/preset-sheets-collaboration)
[![license](https://img.shields.io/npm/l/@univerjs/preset-sheets-collaboration?style=flat-square)](https://npmjs.com/package/@univerjs/preset-sheets-collaboration)
[![downloads](https://img.shields.io/npm/dm/@univerjs/preset-sheets-collaboration?style=flat-square)](https://npmjs.com/package/@univerjs/preset-sheets-collaboration)

`@univerjs/preset-sheets-collaboration` provides a preset for real-time collaboration and edit history in Univer Sheets.

## Package Overview

| Package                                 | UMD global                        | CSS | Locales | Facade entry |
| --------------------------------------- | --------------------------------- | :-: | :-----: | :----------: |
| `@univerjs/preset-sheets-collaboration` | `UniverSheetsCollaborationPreset` | Yes |   Yes   |     Yes      |

## Installation

```sh
pnpm add @univerjs/preset-sheets-collaboration
# or
npm install @univerjs/preset-sheets-collaboration
```

Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.

## Usage

```ts
import { UniverSheetsCollaborationPreset } from '@univerjs/preset-sheets-collaboration';

// Use with createUniver:
// createUniver({ presets: [UniverSheetsCollaborationPreset()] });
```

## Resources

- [Documentation](https://docs.univer.ai)
- [NPM package](https://npmjs.com/package/@univerjs/preset-sheets-collaboration)
- [GitHub repository](https://github.com/dream-num/univer)
