18 lines
1.1 KiB
TypeScript
18 lines
1.1 KiB
TypeScript
|
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;
|