createUniver
packages | @univerjs/presets |
---|
import { createUniver } from '@univerjs/presets'
Parameters
Prop | Type | Default |
---|---|---|
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
Prop | Type | Default |
---|---|---|
univer | Univer | - |
univerAPI | FUniver | - |