Name | Description | Default | Control |
---|---|---|---|
imgSrcLeft * | Left image url | - | - |
imgSrcRight * | Right image url | - | - |
resizePosition | Initial resize position of ImageDiff | 50 | |
size | Size of image. Can be fixed size with 'width' and 'height' or based on image ratio with 'ratio'{ width: number; height: number } | { ratio: number } | - | - |
className | Wrapper class | - | - |