import { ViewIcon } from '@fluentui/react-icons';
import React from 'react';
import { useTranslation } from 'react-i18next';
import { IconButtonWithTooltip } from '../../inputs/buttons/IconButtonWithToolTip';
const ActionsRenderer = (props) => {
    const { openView, data, node } = props;
    const { t } = useTranslation();
    return (React.createElement("div", null, openView && !(node === null || node === void 0 ? void 0 : node.group) && (React.createElement(IconButtonWithTooltip, { title: t('View'), size: "small", onClick: () => {
            openView(data);
        }, icon: ViewIcon }))));
};
export default ActionsRenderer;
//# sourceMappingURL=ActionsRenderer.js.map