+ {diff.diff &&
setMode('diff')}>Diff
}
+
setMode('actual')}>Actual
+
setMode('expected')}>Expected
+
setMode('slider')}>Slider
+
setMode('sxs')}>Side by side
+
+ {diff.diff && mode === 'diff' &&
}
+ {diff.diff && mode === 'actual' &&
}
+ {diff.diff && mode === 'expected' &&
}
+ {diff.diff && mode === 'slider' &&
}
+ {diff.diff && mode === 'sxs' &&
+
+
+
setShowSxsDiff(!showSxsDiff)} scale={scale / 2} />
+ }
+ {!diff.diff && mode === 'actual' &&
}
+ {!diff.diff && mode === 'expected' &&
}
+ {!diff.diff && mode === 'sxs' &&
}
+