Skip to main content

AttachmentImageProps

@lowcode/runtime-core


Interface: AttachmentImageProps

Defined in: components/AttachmentImage.tsx:89

Пропсы для Image компонента.

Extends​

  • ImgHTMLAttributes<HTMLImageElement>

Properties​

alt?​

optional alt: string

Defined in: components/AttachmentImage.tsx:100

Альтернативный текст для доступности

Overrides​

React.ImgHTMLAttributes.alt


sourceType?​

optional sourceType: "url" | "upload"

Defined in: components/AttachmentImage.tsx:98

Тип источника.

  • "url" → src считается обычным URL
  • "upload" → src считается attachmentId (нужно загрузить через API хоста)

src?​

optional src: string

Defined in: components/AttachmentImage.tsx:91

URL изображения или ID attachment (обычно UUID).

Overrides​

React.ImgHTMLAttributes.src