@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
16 lines (15 loc) • 438 B
TypeScript
export declare const TOOLBAR_DOCKING_POSITIONS: readonly [
"top",
"none"
];
export type ToolbarDocking = (typeof TOOLBAR_DOCKING_POSITIONS)[number];
export type UserPreferences = {
toolbarDockingPosition?: ToolbarDocking;
};
/**
* This type should contain all the user preferences
* And we do expect all the attributes to be defined
*/
export type ResolvedUserPreferences = {
toolbarDockingPosition: ToolbarDocking;
};