react-smart-editor
Version:
React rich text editor with track changes functionality
10 lines • 468 B
TypeScript
import { ChangeMetadata, User } from '../types';
/**
* Creates a change metadata object
* @param type - The type of change
* @param content - The content of the change
* @param description - The description of the change
* @param user - The user who made the change
*/
export declare const createChangeMetadata: (type: ChangeMetadata["type"], content: string, description: string, user: User) => ChangeMetadata;
//# sourceMappingURL=createChangeMetadata.d.ts.map