React feather refactor (#6090)

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Mehran ShahbazandPeer Richelsen authored and GitHub committed 2022-12-18 10:44:44 +00:00
1 parent c4bd2167e1
commit 205f73c4bc
15 files changed
+35 -40

No files matched your search

@@ -1,12 +1,11 @@
import React from "react";
import { Icon as FeatherIcon } from "react-feather";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { SVGComponent } from "@calcom/types/SVGComponent";
import { Button, Icon } from "@calcom/ui";
type WorkflowExampleType = {
Icon: FeatherIcon;
Icon: SVGComponent;
text: string;
};
@@ -40,7 +39,7 @@ export default function EmptyScreen({
isLoading,
showExampleWorkflows,
}: {
IconHeading: SVGComponent | FeatherIcon;
IconHeading: SVGComponent;
headline: string;
description: string | React.ReactElement;
buttonText?: string;