@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
21 lines (20 loc) • 1.01 kB
TypeScript
import { jsx } from '@emotion/react';
import type { WrappedComponentProps } from 'react-intl';
import type { FileIdentifier, MediaClient } from '@atlaskit/media-client';
import type { MediaInlineAttrs, MediaSSR } from './types';
export interface MediaInlineImageCardProps {
border?: {
borderColor?: string;
borderSize?: number;
};
identifier: FileIdentifier;
isLazy?: boolean;
isSelected?: boolean;
isViewOnly?: boolean;
mediaClient?: MediaClient;
serializeDataAttrs?: boolean;
shouldOpenMediaViewer?: boolean;
ssr?: MediaSSR;
}
export declare const MediaInlineImageCardInternal: ({ mediaClient, identifier, isSelected, intl, alt, isLazy, width, height, border, ssr, serializeDataAttrs, shouldOpenMediaViewer, isViewOnly, }: MediaInlineImageCardProps & WrappedComponentProps & MediaInlineAttrs) => jsx.JSX.Element;
export declare const MediaInlineImageCard: React.ComponentType<React.PropsWithChildren<MediaInlineImageCardProps & MediaInlineAttrs>>;