UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

19 lines (18 loc) 790 B
/** * @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 import { css, jsx } from '@emotion/react'; const beforePrimaryToolbarPluginWrapperStyles = 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 export const BeforePrimaryToolbarWrapper = props => jsx("div", { css: beforePrimaryToolbarPluginWrapperStyles, "data-testid": 'before-primary-toolbar-components-plugin' }, props.beforePrimaryToolbarComponents);