18 lines
1.1 KiB
TypeScript
Raw Normal View History

2021-02-20 18:55:36 +01:00
import * as React from "react";
export declare const HighlightContainer: (props: {
children: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)> | React.ReactNodeArray | React.ReactPortal | React.ReactNode[];
classList?: string;
highlightedId?: string;
onClick?: () => void;
}) => JSX.Element;
export declare const HighlightRegion: (props: React.HTMLProps<HTMLDivElement> & {
highlightId: string;
}) => React.DetailedReactHTMLElement<React.HTMLProps<HTMLDivElement> & {
highlightId: string;
}, HTMLDivElement>;
export declare const HighlightText: (props: {
highlightId: string;
className?: string;
children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)> | React.ReactNodeArray | React.ReactPortal | React.ReactNode[];
}) => JSX.Element;