Skip to content

Image

Display images with support for fallback.

Example

import { UiImage } from '@altdot/extension';
import { useState } from 'react';
export default function Command() {
return (
<UiImage src="https://picsum.photos/200" />
);
}

Props

NameTypeDescription
fallbackSrc?stringThe image’s fallback source