UNPKG

@atlaskit/icon

Version:

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

32 lines (31 loc) 1.43 kB
/** * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} * @codegen <<SignedSource::d5fac6bc179ab80298f715340f91ebf9>> * @codegenCommand yarn build:icon-glyphs */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _warning = _interopRequireDefault(require("@atlaskit/icon/core/warning")); var _warning2 = _interopRequireDefault(require("@atlaskit/icon/glyph/warning")); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } /** * Migration Icon component for WarningIcon. * This component is WarningIcon, with `UNSAFE_fallbackIcon` set to "WarningIcon". * * Category: single-purpose * Location: @atlaskit/icon * Usage guidance: Reserved for warning statuses. 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 WarningIcon = props => /*#__PURE__*/_react.default.createElement(_warning.default, Object.assign({ LEGACY_fallbackIcon: _warning2.default // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props }, props)); WarningIcon.Name = 'WarningIconMigration'; var _default = exports.default = WarningIcon;