/**
 * 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");
let react = require("react");
react = require_runtime.__toESM(react);
let prop_types = require("prop-types");
prop_types = require_runtime.__toESM(prop_types);
//#region src/components/Datagrid/Datagrid/addons/AiLabel/DatagridAiLabel.tsx
/**
* Copyright IBM Corp. 2024, 2024
*
* 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 DatagridAILabel = (0, react.forwardRef)(({ aiLabel }, ref) => {
	if (aiLabel && (0, react.isValidElement)(aiLabel)) return react.default.cloneElement(aiLabel, {
		size: "mini",
		ref
	});
	return null;
});
DatagridAILabel.propTypes = { 
/**
* Specify the AI AILabel to be displayed
*/
aiLabel: prop_types.default.node };
//#endregion
exports.DatagridAILabel = DatagridAILabel;
