UNPKG

@atlaskit/editor-plugin-floating-toolbar

Version:

Floating toolbar plugin for @atlaskit/editor-core

19 lines (18 loc) • 753 B
import React from 'react'; // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss import { Box } from '@atlaskit/primitives/box'; // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss import { xcss } from '@atlaskit/primitives/xcss/xcss'; var styles = xcss({ width: '100%', borderBlockEnd: 'none', borderBlockStart: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"), borderInline: 'none' }); export var Divider = function Divider() { return /*#__PURE__*/React.createElement(Box, { as: "hr", xcss: styles, role: "presentation" }); };