UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

28 lines (25 loc) 1.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BeforePrimaryToolbarWrapper = void 0; var _react = require("@emotion/react"); /** * @jsxRuntime classic * @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic var beforePrimaryToolbarPluginWrapperStyles = (0, _react.css)({ display: 'flex', flexGrow: 1, justifyContent: 'flex-end', alignItems: 'center' }); // Duplicate of the wrapper from `editor-plugins/before-primary-toolbar` used // only in `FullPageToolbar` to decouple the plugin from the main toolbar var BeforePrimaryToolbarWrapper = exports.BeforePrimaryToolbarWrapper = function BeforePrimaryToolbarWrapper(props) { return (0, _react.jsx)("div", { css: beforePrimaryToolbarPluginWrapperStyles, "data-testid": 'before-primary-toolbar-components-plugin' }, props.beforePrimaryToolbarComponents); };