UNPKG

@atlaskit/icon

Version:

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

29 lines (28 loc) 1.38 kB
/** * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} * @codegen <<SignedSource::49812071d6f0a774fd1a4306f3d0718e>> * @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: "Warning". * Category: utility * Location: @atlaskit/icon * Usage guidance: Reserved for Helper Messages in Forms. * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon) * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons) */ const WarningIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({ dangerouslySetGlyph: `<path fill="currentcolor" fill-rule="evenodd" d="M11.702 9.137A1.25 1.25 0 0 1 10.612 11H1.388a1.25 1.25 0 0 1-1.09-1.863l4.614-8.2a1.25 1.25 0 0 1 2.178 0zM6.75 2.75V6.5h-1.5V2.75zm-.75 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2" clip-rule="evenodd"/>`, type: 'utility' // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props }, props)); WarningIcon.displayName = 'WarningIcon'; var _default = exports.default = WarningIcon;