@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
13 lines (12 loc) • 428 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;
};