Skip to content

Commit

Permalink
removed buttonv2 fully
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 committed Dec 24, 2024
1 parent 8a1d0ff commit a24b580
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/components/Common/Export.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu";

import ButtonV2 from "@/components/Common/ButtonV2";
import { ShadcnMenuDropdownItemProps } from "@/components/Common/Menu";

import useExport from "@/hooks/useExport";
Expand Down Expand Up @@ -158,7 +157,7 @@ export const ExportButton = ({

return (
<>
<ButtonV2
<Button
disabled={isExporting || props.disabled}
onClick={() => {
let action = props.action;
Expand All @@ -173,9 +172,7 @@ export const ExportButton = ({
}
}}
className="tooltip mx-2 p-4 text-lg text-secondary-800 disabled:bg-transparent disabled:text-secondary-500"
variant="secondary"
ghost
circle
variant="link"
>
{isExporting ? (
<CareIcon icon="l-spinner-alt" className="animate-spin" />
Expand All @@ -184,8 +181,8 @@ export const ExportButton = ({
)}
<span className={`tooltip-text ${tooltipClassName}`}>
{props.tooltip || "Export"}
</span>
</ButtonV2>
</span>{" "}
</Button>
</>
);
};
Expand Down

0 comments on commit a24b580

Please sign in to comment.