UNPKG

@atlaskit/editor-common

Version:

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

18 lines (17 loc) 735 B
/// <reference types="react" /> import type { IntlShape } from 'react-intl-next'; export declare const getBadgeSize: (width?: number, height?: number) => "medium" | "small"; export type CommentBadgeProps = { intl: IntlShape; width?: number; height?: number; status?: 'default' | 'entered' | 'active'; mediaSingleElement?: HTMLElement | null; onClick: (e: React.MouseEvent) => void; onMouseEnter?: (e: React.MouseEvent) => void; onMouseLeave?: (e: React.MouseEvent) => void; isEditor?: boolean; isDrafting?: boolean; badgeOffsetRight?: string; }; export declare const CommentBadge: import("react").ForwardRefExoticComponent<CommentBadgeProps & import("react").RefAttributes<HTMLDivElement>>;