import React from 'react';
import { SecondaryActions } from '../SecondaryActions/SecondaryActions';
import { TableToolbar, Box } from '@wix/design-system';
export function ToolbarSecondaryActions({ items, }) {
    return (React.createElement(Box, null, items.map((item, index) => {
        const dataHook = item.dataHook ?? 'toolbar-secondary-actions';
        return (React.createElement(TableToolbar.Item, { key: index },
            React.createElement(SecondaryActions, { key: index, ...item, dataHook: `${dataHook}-${index}` })));
    })));
}
//# sourceMappingURL=ToolbarSecondaryActions.js.map