@nightingale-elements/nightingale-new-core
Version:
Base Elements for Nightingale Components
14 lines • 606 B
TypeScript
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