@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
16 lines (15 loc) • 536 B
TypeScript
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, }: {
alt?: string;
crop?: boolean;
dimensions?: Dimensions;
identifier: FileIdentifier;
isLazy?: boolean;
renderError: (props: {
error: Error;
}) => JSX.Element | null;
ssr?: SSR;
stretch?: boolean;
}) => JSX.Element | null;