We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bb3389 commit 94c9785Copy full SHA for 94c9785
src/components/Media/Media.tsx
@@ -14,6 +14,7 @@ interface Props {
14
export function Media({ className, image, style, title }: Props) {
15
const computedClassName = classNames('prezly-slate-media', className, {
16
'prezly-slate-media--image': !image.isGif(),
17
+ 'prezly-slate-media--video': image.isGif(),
18
});
19
20
if (image.isGif()) {
0 commit comments