Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled
1.6 KiB
1.6 KiB
@univerjs/preset-sheets-conditional-formatting
@univerjs/preset-sheets-conditional-formatting provides a preset for conditional formatting in Univer Sheets.
Package Overview
| Package | CSS | Locales | Facade entry |
|---|---|---|---|
@univerjs/preset-sheets-conditional-formatting |
Yes | Yes | Yes |
Installation
pnpm add @univerjs/preset-sheets-conditional-formatting
# or
npm install @univerjs/preset-sheets-conditional-formatting
Keep all @univerjs/* packages on the same version.
Usage
import { UniverSheetsConditionalFormattingPreset } from '@univerjs/preset-sheets-conditional-formatting';
// Use with createUniver:
// createUniver({ presets: [UniverSheetsConditionalFormattingPreset()] });