react-change-highlight
Version:
React component to highlight the changed content immediately and bring focus of the user into the changed part
14 lines (13 loc) • 349 B
TypeScript
import React from "react";
interface Props {
children: any;
containerClassName?: string;
showAfter?: number;
hideAfter?: number;
highlightClassName?: string;
mode?: "newOnly" | "change";
disabled?: boolean;
ssr?: boolean;
}
declare const ChangeHighlight: React.FC<Props>;
export default ChangeHighlight;