DoubleSidedImage

DoubleSidedImage is image embed component which able to switch the image source based on current theme mode.

Example

DoubleSidedImage accpet all img tag attribute as props

API

DoubleSidedImage
PropDescriptionTypeDefault
darkModeSrcImage source to display in dark mode string-