@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
10 lines (9 loc) • 365 B
TypeScript
import React from 'react';
import type { MediaType } from '@atlaskit/adf-schema';
type ExternalImageBadgeProps = {
type: MediaType;
url: string | undefined;
};
export declare const isUnbadgedUrl: (url: string | undefined) => boolean;
export declare const ExternalImageBadge: ({ type, url, }: ExternalImageBadgeProps) => React.JSX.Element | null;
export {};