@atlaskit/editor-plugin-table
Version:
Table plugin for the @atlaskit/editor
23 lines • 498 B
JavaScript
import React from 'react';
import { Popup } from '@atlaskit/editor-common/ui';
export const FloatingToolbarLabel = /*#__PURE__*/React.memo(props => {
const {
target,
content,
alignX,
alignY,
zIndex,
forcePlacement,
stick,
offset
} = props;
return /*#__PURE__*/React.createElement(Popup, {
target: target,
alignX: alignX,
alignY: alignY,
zIndex: zIndex,
stick: stick,
forcePlacement: forcePlacement,
offset: offset
}, content);
});