createUniver

GitHubEdit on GitHub
packages@univerjs/presets
import { createUniver } from '@univerjs/presets'

Parameters

PropTypeDefault
theme?
{ white: string; black: string; primary: { 50: string; 100: string; 200: string; 300: string; 400: string; 500: string; 600: string; 700: string; 800: string; 900: string; }; gray: { 50: string; 100: string; 200: string; ... 6 more ...; 900: string; }; ... 9 more ...; 'loop-color': { ...; }; }
-
darkMode?
boolean
false
locale?
LocaleType
-
locales?
ILocales
-
logLevel?
LogLevel
-
override?
DependencyOverride
-
presets
(IPreset | [IPreset, IPresetOptions])[]
-
plugins?
(PluginCtor<Plugin> | [PluginCtor<Plugin>, any])[]
-
collaboration?
true
-

Returns

PropTypeDefault
univer
Univer
-
univerAPI
FUniver
-

On this page