import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
import React from "react";
import { t } from "ttag";
import Button from "../button";
import { Row } from "../grid";
import Suggest from "./suggest";
const Actions = ({ onSwitch, network, suggest }) => {
    const SuggestComponent = React.useMemo(() => suggest && Suggest[suggest], [
        Suggest,
        suggest,
    ]);
    return (_jsxs(_Fragment, { children: [_jsxs(Row, { className: "row btns", spaceBetween: true, children: [_jsx(Button, { width: "80px", size: "xs", textSize: "12px", thinOutlined: true, disabled: !network?.dev, onClick: () => onSwitch("deposit"), children: t `Deposit` }), _jsx(Button, { width: "80px", size: "xs", textSize: "12px", thinOutlined: true, disabled: !network?.dev, onClick: () => onSwitch("transfer"), children: t `Transfer` }), _jsx(Button, { width: "80px", size: "xs", textSize: "12px", thinOutlined: true, disabled: !network?.dev, onClick: () => onSwitch("withdraw"), children: t `Withdraw` })] }), SuggestComponent && _jsx(SuggestComponent, { arrow: true })] }));
};
export default Actions;
//# sourceMappingURL=actions.js.map