UNPKG

@lobehub/editor

Version:

A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.

58 lines 1.89 kB
var _templateObject; function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } import { createStaticStyles, cssVar, cx } from 'antd-style'; import { jsx as _jsx } from "react/jsx-runtime"; import { jsxs as _jsxs } from "react/jsx-runtime"; var styles = createStaticStyles(function (_ref) { var css = _ref.css; return { icon: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n flex: none;\n line-height: 1;\n "]))) }; }); var StopIcon = function StopIcon(_ref2) { var _ref2$size = _ref2.size, size = _ref2$size === void 0 ? '1.5em' : _ref2$size, style = _ref2.style; return /*#__PURE__*/_jsx("svg", { className: cx('anticon', styles.icon), color: "currentColor", height: size, style: style, viewBox: "0 0 1024 1024", width: size, xmlns: "http://www.w3.org/2000/svg", children: /*#__PURE__*/_jsxs("g", { fill: "none", children: [/*#__PURE__*/_jsx("circle", { cx: "512", cy: "512", fill: "none", r: "426", stroke: cssVar.colorBorder, strokeWidth: "72" }), /*#__PURE__*/_jsx("rect", { fill: "currentColor", height: "252", rx: "24", ry: "24", width: "252", x: "386", y: "386" }), /*#__PURE__*/_jsx("path", { d: "M938.667 512C938.667 276.359 747.64 85.333 512 85.333", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "73", children: /*#__PURE__*/_jsx("animateTransform", { attributeName: "transform", dur: "1s", from: "0 512 512", repeatCount: "indefinite", to: "360 512 512", type: "rotate" }) })] }) }); }; export default StopIcon;