@atlaskit/editor-plugin-before-primary-toolbar
Version:
Before primary toolbar plugin for @atlaskit/editor-core
26 lines (24 loc) • 833 B
JavaScript
;
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
var beforePrimaryToolbarPluginWrapperStyles = (0, _react.css)({
display: 'flex',
marginRight: "var(--ds-space-100, 8px)",
flexGrow: 1,
justifyContent: 'flex-end',
alignItems: 'center'
});
var BeforePrimaryToolbarWrapper = exports.BeforePrimaryToolbarWrapper = function BeforePrimaryToolbarWrapper(props) {
return (0, _react.jsx)("div", {
css: beforePrimaryToolbarPluginWrapperStyles,
"data-testid": 'before-primary-toolbar-components-plugin'
}, props.beforePrimaryToolbarComponents);
};