@atlaskit/editor-plugin-synced-block
Version:
SyncedBlock plugin for @atlaskit/editor-core
17 lines (16 loc) • 636 B
TypeScript
import React from 'react';
import type { UnpublishedSourceType } from './getUnpublishedSourceType';
export type UnpublishedLabelInfo = Readonly<{
sourceType: UnpublishedSourceType;
variant: 'local-reference' | 'source';
}>;
type SyncBlockLabelProps = {
contentUpdatedAt?: string;
isSource: boolean;
isUnsyncedBlock?: boolean;
localId: string;
title?: string;
unpublishedInfo?: UnpublishedLabelInfo;
};
export declare const SyncBlockLabel: React.MemoExoticComponent<({ contentUpdatedAt, isSource, localId, title, isUnsyncedBlock, unpublishedInfo, }: SyncBlockLabelProps) => React.JSX.Element>;
export {};