UNPKG

@atlaskit/icon

Version:

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

28 lines (27 loc) 1.55 kB
/** * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} * @codegen <<SignedSource::338651941b03ec38a528c6808ae2ffcd>> * @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: "Tag". * Category: single-purpose * Location: @atlaskit/icon * Usage guidance: Single purpose - Reserved for tags in Atlas. * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon) * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons) */ const TagIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({ dangerouslySetGlyph: `<path fill="currentcolor" d="M11 4a1 1 0 1 0 0 2 1 1 0 0 0 0-2"/><path fill="currentcolor" fill-rule="evenodd" d="M9.286 1a3.25 3.25 0 0 0-2.299.952L1.604 7.336a2 2 0 0 0 0 2.828l4.232 4.232a2 2 0 0 0 2.828 0l5.384-5.383A3.25 3.25 0 0 0 15 6.714V3a2 2 0 0 0-2-2zM8.048 3.013A1.75 1.75 0 0 1 9.286 2.5H13a.5.5 0 0 1 .5.5v3.714c0 .465-.184.91-.513 1.238l-5.383 5.384a.5.5 0 0 1-.708 0L2.664 9.104a.5.5 0 0 1 0-.708z" clip-rule="evenodd"/>` // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props }, props)); TagIcon.displayName = 'TagIcon'; var _default = exports.default = TagIcon;