Form

Diff Viewer

A diff viewer allows users to compare code files by showing them side by side and highlighting differences between them.

View source

Props

NameTypeDefaultDescription
differencerequiredstring
Show changes between state A and state B (git diff format)
noChangesDescriptionstring
Description to show when the old and new values are the same
noChangesLabelstring
Title to show when the old and new values are the same
splitViewbooleanfalse
Whether the difference display is split

Examples

No guidelines exist for DiffViewer yet.

Create guidelines