perf: use svg sprite for icons (#16135)
Co-authored-by: zomars <[email protected]>
This commit is contained in:
1 parent
3e28160fa7
commit
da5df7164a
30 files changed
+1511
-1698
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import type { Table } from "@tanstack/react-table";
|
||||
import { Check } from "lucide-react";
|
||||
import type { Dispatch, SetStateAction } from "react";
|
||||
import { useState } from "react";
|
||||
|
||||
@@ -20,6 +19,7 @@ import {
|
||||
showToast,
|
||||
PopoverContent,
|
||||
PopoverTrigger,
|
||||
Icon,
|
||||
} from "@calcom/ui";
|
||||
|
||||
import type { User } from "../UserListTable";
|
||||
@@ -255,7 +255,7 @@ const ListItem = ({ onSelect, text, isSelected, isTeam }: ListItemProps) => {
|
||||
"border-subtle ml-auto flex h-4 w-4 items-center justify-center rounded-sm border",
|
||||
isSelected ? "text-emphasis" : "opacity-50 [&_svg]:invisible"
|
||||
)}>
|
||||
<Check className={classNames("h-4 w-4")} />
|
||||
<Icon name="check" className={classNames("h-4 w-4")} />
|
||||
</div>
|
||||
</CommandItem>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user