UNPKG

@nightingale-elements/nightingale-new-core

Version:
14 lines 606 B
import NightingaleBaseElement, { Constructor } from "../../nightingale-base-element"; import Region from "../../utils/Region"; export declare class WithHighlightInterface { highlight: string; "highlight-color": string; highlightedRegion: Region; } export declare const DEFAULT_HIGHLIGHT_COLOR = "#FFEB3B66"; declare const withHighlight: <T extends Constructor<NightingaleBaseElement>>(superClass: T, options?: { highlight?: string | null; "highlight-color"?: string | null; }) => Constructor<WithHighlightInterface> & T; export default withHighlight; //# sourceMappingURL=index.d.ts.map