@atlaskit/renderer
Version:
Renderer component
23 lines (22 loc) • 790 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import { jsx } from '@emotion/react';
import type { EventHandlers } from '@atlaskit/editor-common/ui';
import type { RendererAppearance } from '../../ui/Renderer/types';
import type { SmartLinksOptions } from '../../types/smartLinksOptions';
import type { DatasourceAttributeProperties } from '@atlaskit/adf-schema/schema';
export default function BlockCard(props: {
data?: object;
datasource?: DatasourceAttributeProperties;
eventHandlers?: EventHandlers;
isNodeNested?: boolean;
layout?: string;
localId?: string;
onSetLinkTarget?: (url: string) => '_blank' | undefined;
portal?: HTMLElement;
rendererAppearance?: RendererAppearance;
smartLinks?: SmartLinksOptions;
url?: string;
}): jsx.JSX.Element;