Skip to content

Commit

Permalink
changed dropdown to Shadcn dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
manmeetnagii committed Dec 15, 2024
1 parent 4a9858f commit ce0bdb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Common/Export.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export const ExportMenu = ({
<DropdownMenuContent>
{exportItems.map((item) => (
<div
{...item.options}
key={item.label}
className={classNames(
isAuthorized
Expand All @@ -124,10 +125,9 @@ export const ExportMenu = ({
exportFile(action, item.filePrefix, item.type, item.parse);
}
}}
{...item.options}
>
<DropdownMenuItem disabled={isExporting || disabled}>
<div id={item.options?.id}>
<div>
<i>{item.options?.icon}</i>
<span className="w-full">{item.label}</span>
</div>
Expand Down

0 comments on commit ce0bdb8

Please sign in to comment.