react-change-highlight
Version:
React component to highlight the changed content immediately and bring focus of the user into the changed part
15 lines (14 loc) • 360 B
TypeScript
import React from "react";
declare type Props = {
child: any;
id: number;
showAfter: number;
hideAfter: number;
highlightClassName: string;
clearHandler: number;
newlyAddedOnly: boolean;
updateClearHandler: Function;
uniqueId: string;
};
declare const ShadowChild: React.FC<Props>;
export default ShadowChild;