UNPKG

@atlaskit/editor-common

Version:

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

11 lines (10 loc) 411 B
/// <reference types="react" /> import { type MediaType } from '@atlaskit/adf-schema'; type ExternalImageBadgeProps = { badgeSize: 'medium' | 'small'; type?: MediaType; url?: string | undefined; }; export declare const isUnbadgedUrl: (url: string | undefined) => boolean; export declare const ExternalImageBadge: ({ badgeSize, type, url }: ExternalImageBadgeProps) => JSX.Element | null; export {};