"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.UIFlexibleTableRowActionButton = UIFlexibleTableRowActionButton;
const react_1 = __importDefault(require("react"));
const __1 = require("..");
const utils_1 = require("./utils");
/**
 * UIFlexibleTableRowActionButton Component.
 *
 * @param {UIFlexibleTableRowActionProps} props
 * @returns {React.ReactElement}
 */
function UIFlexibleTableRowActionButton(props) {
    return (react_1.default.createElement(__1.UIIconButton, { id: (0, utils_1.getRowActionButtonId)(props.tableId, props.rowNumber, props.actionName), key: `table-row-${props.rowNumber}-actions-${props.actionName}`, className: `flexible-table-content-table-row-item-actions-${props.actionName}${props.className ? ' ' + props.className : ''}`, onClick: props.onClick, onFocus: props.onFocus, disabled: props.disabled, iconProps: { iconName: props.iconName }, title: props.title }));
}
//# sourceMappingURL=UIFlexibleTableRowActionButton.js.map