= ({ actions }) => {
const mobileActions = actions.flatMap((action) => {
if (action.actions) {
return action.actions;
}
return action;
});
return (
<>
{actions.map((action) => {
const button = (
);
if (!action.actions) {
return button;
}
return ;
})}
>
);
};
export default TableActions;