UNPKG

@atlaskit/editor-plugin-highlight

Version:

Highlight plugin for @atlaskit/editor-core

17 lines 656 B
import React from 'react'; import { SteppedRainbowIconDecoration } from '@atlaskit/editor-common/icons'; import EditFilledIcon from '@atlaskit/icon/core/edit'; import { Box } from '@atlaskit/primitives/compiled'; export var EditorHighlightIcon = function EditorHighlightIcon(_ref) { var disabled = _ref.disabled, selectedColor = _ref.selectedColor; return /*#__PURE__*/React.createElement(Box, { paddingInline: "space.050" }, /*#__PURE__*/React.createElement(SteppedRainbowIconDecoration, { selectedColor: selectedColor, disabled: disabled, icon: /*#__PURE__*/React.createElement(EditFilledIcon, { label: "" }) })); };