Replace react icons with lucidedev (#8146)
* migrate from react-icons to lucide-react * replace react-icon with lucide-dev: Webhook Icon * add lucide transformer * Fix LinkIcon import * Update yarn.lock to include monorepo deps * Migrated icons in ChargeCardDialog * Port Storybook to new icons as well * Adjust Info & Globe icons size to match react-icons size --------- Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
1 parent
fb9c1b18e0
commit
91f381bce9
176 files changed
+830
-867
No files matched your search
@@ -12,7 +12,7 @@ import {
|
||||
DropdownMenuLabel,
|
||||
DropdownMenuTrigger,
|
||||
} from "@calcom/ui";
|
||||
import { FiPlus } from "@calcom/ui/components/icon";
|
||||
import { Plus } from "@calcom/ui/components/icon";
|
||||
|
||||
export interface Option {
|
||||
teamId: number | null | undefined; // if undefined, then it's a profile
|
||||
@@ -72,7 +72,7 @@ export function CreateButton(props: CreateBtnProps) {
|
||||
: null
|
||||
}
|
||||
data-testid="new-event-type"
|
||||
StartIcon={FiPlus}
|
||||
StartIcon={Plus}
|
||||
loading={props.isLoading}
|
||||
variant={props.disableMobileButton ? "button" : "fab"}>
|
||||
{props.buttonText ? props.buttonText : t("new")}
|
||||
@@ -82,7 +82,7 @@ export function CreateButton(props: CreateBtnProps) {
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button
|
||||
variant={props.disableMobileButton ? "button" : "fab"}
|
||||
StartIcon={FiPlus}
|
||||
StartIcon={Plus}
|
||||
loading={props.isLoading}>
|
||||
{props.buttonText ? props.buttonText : t("new")}
|
||||
</Button>
|
||||
|
||||
Reference in new issue
Block a user