import PrintExcel from "./ExcelPrint";
import ComplaintList from "../complaintList";
import { Stack } from "@mui/material";

const Toolbar = ({ table, filterData, mutate }) => {
    return (
        <Stack direction={"row"} spacing={1}>
            <PrintExcel table={table} filterData={filterData} />
            <ComplaintList mutate={mutate} />
        </Stack>
    );
};
export default Toolbar;
