UNPKG

react-native-diff-viewer

Version:

A React Native component for viewing and comparing JSON configurations with side-by-side diff view

16 lines (14 loc) 320 B
export const DIFF_VIEWER_STRINGS = { OLD_VERSION: 'Original Version', NEW_VERSION: 'Modified Version' } as const; export const DIFF_TYPES = { ADDED: 'ADDED', REMOVED: 'REMOVED', CHANGED: 'CHANGED', UNCHANGED: 'UNCHANGED' } as const; export const DIFF_SIDES = { LEFT: 'LEFT', RIGHT: 'RIGHT' } as const;