@atlaskit/editor-plugin-card
Version:
Card plugin for @atlaskit/editor-core
30 lines (29 loc) • 901 B
TypeScript
import React from 'react';
import type { IntlShape } from 'react-intl';
import type { Command } from '@atlaskit/editor-common/types';
import type { NewCoreIconProps } from '@atlaskit/icon';
interface Props {
allowDatasource?: boolean;
dispatchCommand: (command: Command) => void;
inputMethod: string;
intl: IntlShape;
selected: boolean;
url: string;
}
export declare const datasourceDisplayInformation: {
icon: {
(props: NewCoreIconProps): JSX.Element;
displayName: string;
};
iconFallback: {
(props: NewCoreIconProps): JSX.Element;
displayName: string;
};
title: {
defaultMessage: string;
description: string;
id: string;
};
};
export declare const DatasourceDropdownOption: ({ allowDatasource, intl, url, selected, inputMethod, dispatchCommand, }: Props) => React.JSX.Element | null;
export {};