UNPKG

@atlaskit/icon

Version:

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

28 lines (27 loc) 1.65 kB
/** * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} * @codegen <<SignedSource::3cbb4cee02b4cc3e5b584fbc7fe3feb6>> * @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: "Pin". * Category: multi-purpose * Location: @atlaskit/icon * Usage guidance: Known uses: unpinned fields. * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon) * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons) */ const PinIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({ dangerouslySetGlyph: `<path fill="currentcolor" d="M5.354 0a1.376 1.376 0 0 0-1.268 1.908l.089.174L5 3.458v3.475a5 5 0 0 0-1.184.61C2.898 8.195 2 9.348 2 11.25c0 .414.336.75.75.75h4.5v4h1.5v-4h4.5a.75.75 0 0 0 .75-.75c0-1.903-.898-3.056-1.816-3.706A5 5 0 0 0 11 6.933V3.458l.825-1.376A1.375 1.375 0 0 0 10.647 0zm4.252 2.864a.75.75 0 0 0-.106.386V7.5c0 .367.265.68.627.74l.008.001.066.016a3.4 3.4 0 0 1 1.115.512c.463.327.938.852 1.113 1.731H3.57c.175-.88.65-1.404 1.113-1.731a3.4 3.4 0 0 1 1.181-.528l.008-.002A.75.75 0 0 0 6.5 7.5V3.25a.75.75 0 0 0-.106-.386L5.574 1.5h4.852z"/>` // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props }, props)); PinIcon.displayName = 'PinIcon'; var _default = exports.default = PinIcon;