"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const components_1 = require("@react-email/components");
const style_1 = require("../_libs/style");
function Actions({ actions, }) {
    return actions.length > 0 ? ((0, jsx_runtime_1.jsx)(components_1.Section, { style: style_1.actionsStyle, children: actions.map((item, index) => ((0, jsx_runtime_1.jsx)(components_1.Button, { href: item.link, target: "_blank", style: Object.assign(Object.assign({}, style_1.actionStyle), { padding: '6px 12px' }), children: item.title || item.name }, index))) })) : null;
}
exports.default = Actions;
