import { Box } from "@mui/material";
import CreateDamage from "./Actions/Create";
import PrintExcel from "./ExcelPrint";

const Toolbar = ({ table, filterData, mutate }) => {
    return (
        <Box sx={{ display: "flex", gap: 1 }}>
            <PrintExcel table={table} filterData={filterData} />
            <CreateDamage mutate={mutate} />
        </Box>
    );
};
export default Toolbar;
