UNPKG

@atlaskit/editor-common

Version:

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

23 lines (22 loc) 762 B
/** * @jsxRuntime classic * @jsx jsx */ import React from 'react'; import { jsx } from '@emotion/react'; import type { MacroInteractionDesignFeatureFlags } from './types'; type Props = { children: React.ReactNode; nodeType: string; macroInteractionDesignFeatureFlags?: MacroInteractionDesignFeatureFlags; }; /** * If inlineExtension, add zero width space to the end of the nodes and wrap with span; * Also if showMacroInteractionDesignUpdates is true, then add the inline-block style to account for the lozenge. * else wrap with a div (for multi bodied extensions) * * @param param0 * @returns */ export declare const ExtensionNodeWrapper: ({ children, nodeType, macroInteractionDesignFeatureFlags, }: Props) => jsx.JSX.Element; export {};