@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
8 lines (7 loc) • 548 B
TypeScript
import type { FloatingToolbarItem } from '../types';
export type Item = FloatingToolbarItem<Function>;
export declare const shallowEqual: (objA?: Object, objB?: Object) => boolean;
export declare const compareArrays: <T extends any[]>(left: Array<T>, right: Array<T>, compareFn?: (left: T, right: T) => boolean) => boolean;
export declare const isSameItem: (leftItem: Item, rightItem: Item) => boolean;
export declare const areSameItems: (leftArr?: Array<Item>, rightArr?: Array<Item>) => boolean;
export { default as messages } from './messages';