UNPKG

@atlaskit/icon

Version:

An icon is a symbol representing a command, device, directory, or common action.

29 lines (28 loc) 1.46 kB
/** * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} * @codegen <<SignedSource::a2cd3105f02ad146f4ebeeb5e7e40633>> * @codegenCommand yarn build:icon-glyphs */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new")); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } /** * Icon: "Error". * Category: single-purpose * Location: @atlaskit/icon * Usage guidance: Reserved for error statuses and messaging. Filled status icons provide higher visual contrast to draw attention to important information. * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon) * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons) */ const ErrorIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({ dangerouslySetGlyph: `<path fill="currentcolor" fill-rule="evenodd" d="M6.586.604a2 2 0 0 1 2.828 0l5.982 5.982a2 2 0 0 1 0 2.828l-5.982 5.983a2 2 0 0 1-2.828 0L.604 9.414a2 2 0 0 1 0-2.828zM7.25 9V3.75h1.5V9zM8 12.25a1 1 0 1 0 0-2 1 1 0 0 0 0 2" clip-rule="evenodd"/>` // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props }, props)); ErrorIcon.displayName = 'ErrorIcon'; var _default = exports.default = ErrorIcon;