@lobehub/editor
Version:
A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.
31 lines (30 loc) • 1.26 kB
JavaScript
'use client';
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, cx } from 'antd-style';
import { jsx as _jsx } 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 SendIcon = function SendIcon(_ref2) {
var _ref2$size = _ref2.size,
size = _ref2$size === void 0 ? '1em' : _ref2$size,
style = _ref2.style;
return /*#__PURE__*/_jsx("svg", {
className: cx('anticon', styles.icon),
fill: "currentColor",
fillRule: "evenodd",
height: size,
style: style,
viewBox: "0 0 14 14",
width: size,
xmlns: "http://www.w3.org/2000/svg",
children: /*#__PURE__*/_jsx("path", {
d: "M.743 3.773c-.818-.555-.422-1.834.567-1.828l11.496.074a1 1 0 01.837 1.538l-6.189 9.689c-.532.833-1.822.47-1.842-.518L5.525 8.51a1 1 0 01.522-.9l1.263-.686a.808.808 0 00-.772-1.42l-1.263.686a1 1 0 01-1.039-.051L.743 3.773z"
})
});
};
export default SendIcon;