UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

17 lines (16 loc) 640 B
/// <reference types="react" /> import type { FileIdentifier } from '@atlaskit/media-client'; import type { SSR } from '@atlaskit/media-common'; import type { Dimensions } from './types'; export declare const InlineImageCard: ({ dimensions, identifier, renderError, alt, isLazy, ssr, crop, stretch, }: { identifier: FileIdentifier; renderError: (props: { error: Error; }) => JSX.Element | null; dimensions?: Dimensions | undefined; isLazy?: boolean | undefined; alt?: string | undefined; ssr?: SSR | undefined; crop?: boolean | undefined; stretch?: boolean | undefined; }) => JSX.Element | null;