@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
38 lines • 1.26 kB
JavaScript
import React from 'react';
import { useIconThemed } from '../use-icon-themed';
export default function IconPanelError() {
var _useIconThemed = useIconThemed(),
iconThemed = _useIconThemed.iconThemed;
return /*#__PURE__*/React.createElement("svg", {
focusable: "false",
"aria-hidden": true,
width: 40,
height: 40,
viewBox: "0 0 40 40"
}, /*#__PURE__*/React.createElement("g", {
fill: "none",
fillRule: "evenodd"
}, /*#__PURE__*/React.createElement("path", {
fill: iconThemed({
light: '#FFF',
dark: '#161A1D'
}),
d: "M0 0h40v40H0z"
}), /*#__PURE__*/React.createElement("rect", {
fill: iconThemed({
light: "var(--ds-background-accent-red-subtlest, #FFECEB)",
dark: "var(--ds-background-accent-red-subtlest, #FFECEB)"
}),
x: 8,
y: 12,
width: 32,
height: 16,
rx: 1
}), /*#__PURE__*/React.createElement("path", {
d: "M16.743 19.964l1.06-1.06a.5.5 0 00-.707-.707l-1.06 1.06-1.061-1.06a.5.5 0 00-.707.707l1.06 1.06-1.06 1.061a.5.5 0 10.707.707l1.06-1.06 1.061 1.06a.5.5 0 10.707-.707l-1.06-1.06zM16 24a4 4 0 110-8 4 4 0 010 8z",
fill: iconThemed({
light: "var(--ds-icon-danger, #C9372C)",
dark: "var(--ds-icon-danger, #C9372C)"
})
})));
}