/**
 * Copyright IBM Corp. 2020, 2026
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */

const require_runtime = require('../../_virtual/_rolldown/runtime.js');
const require_index = require('../../node_modules/classnames/index.js');
const require_settings = require('../../settings.js');
const require_devtools = require('../../global/js/utils/devtools.js');
let react = require("react");
react = require_runtime.__toESM(react);
let prop_types = require("prop-types");
prop_types = require_runtime.__toESM(prop_types);
let _carbon_react = require("@carbon/react");
let _carbon_react_icons = require("@carbon/react/icons");

//#region src/components/InlineTip/InlineTipLink.tsx
/**
* Copyright IBM Corp. 2023, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
var import_classnames = /* @__PURE__ */ require_runtime.__toESM(require_index.default);
const blockClass = `${require_settings.pkg.prefix}--inline-tip__link`;
const componentName = "InlineTipLink";
/**
* This is a standard Carbon link, styled specifically for use inside InlineTip.
*/
const InlineTipLink = react.default.forwardRef(({ children, className, ...rest }, ref) => {
	return /* @__PURE__ */ react.default.createElement(_carbon_react.Link, {
		...rest,
		className: (0, import_classnames.default)(blockClass, className),
		ref,
		...require_devtools.getDevtoolsProps(componentName),
		renderIcon: () => /* @__PURE__ */ react.default.createElement(_carbon_react_icons.Launch, { size: 16 })
	}, children);
});
InlineTipLink.displayName = componentName;
InlineTipLink.propTypes = {
	children: prop_types.default.node.isRequired,
	className: prop_types.default.string
};

//#endregion
exports.InlineTipLink = InlineTipLink;