import { Button } from "antd";
import { FiltersIcon } from "../icons/FiltersIcon";

export const SidebarControl = ({ toggleCollapse }) => {
  return (
    <Button
      icon={<FiltersIcon width={16} height={16} />}
      onClick={toggleCollapse}
      className="border-l-0 rounded-bl-none rounded-tl-none absolute top-[100px] flex items-center justify-center"
    />
  );
};
