UNPKG

@atlaskit/icon

Version:

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

31 lines (30 loc) 1.37 kB
/** * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} * @codegen <<SignedSource::325d0bc066f2b42d61e7c5ff0e093014>> * @codegenCommand yarn build:icon-glyphs */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _person = _interopRequireDefault(require("@atlaskit/icon/core/person")); var _person2 = _interopRequireDefault(require("@atlaskit/icon/glyph/person")); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } /** * Migration Icon component for PersonIcon. * This component is PersonIcon, with `UNSAFE_fallbackIcon` set to "PersonIcon". * * Category: single-purpose * Location: @atlaskit/icon * Usage guidance: Single purpose - Known uses: representing a person or user, owner, contributor. * - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon) * - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons) */ const PersonIcon = props => /*#__PURE__*/_react.default.createElement(_person.default, Object.assign({ LEGACY_fallbackIcon: _person2.default // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props }, props)); PersonIcon.Name = 'PersonIconMigration'; var _default = exports.default = PersonIcon;