UNPKG

slate-react

Version:

Tools for building completely customizable richtext editors with React.

11 lines 551 B
import { Range } from 'slate'; export declare const shallowCompare: (obj1: {}, obj2: {}) => boolean; /** * Check if a list of decorator ranges are equal to another. * * PERF: this requires the two lists to also have the ranges inside them in the * same order, but this is an okay constraint for us since decorations are * kept in order, and the odd case where they aren't is okay to re-render for. */ export declare const isDecoratorRangeListEqual: (list: Range[], another: Range[]) => boolean; //# sourceMappingURL=range-list.d.ts.map