React feather refactor (#6090)
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user