"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.LinkIconElement = void 0;
var _react = _interopRequireDefault(require("react"));
var _constants = require("../constants");
var _linkIconElement = _interopRequireDefault(require("../view/FlexibleCard/components/elements/link-icon-element"));
/**
 * Public API — exported externally. Do not add props without external support intent.
 */

var LinkIconElement = exports.LinkIconElement = function LinkIconElement(props) {
  return /*#__PURE__*/_react.default.createElement(_linkIconElement.default, {
    size: (props === null || props === void 0 ? void 0 : props.iconTileSize) === 24 ? _constants.SmartLinkSize.Large : _constants.SmartLinkSize.Medium,
    render: props === null || props === void 0 ? void 0 : props.render
  });
};