Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

refactor: enable isolated declarations in icons (#4208)

Bogdan Chadkin5bfdd683b3ef
diff --git a/packages/icons/generate.ts b/packages/icons/generate.ts
index 704640bcd3..66c2f16f3e 100644
--- a/packages/icons/generate.ts
+++ b/packages/icons/generate.ts
@@ -48,7 +48,7 @@ export const generateStringExport = (options: GenerateOptions) => {
return `export const ${options.exportName} = \`${optimized.trim()}\`;`;
};
-export const generateComponentExport = (options: GenerateOptions) => {
+const generateComponentExport = (options: GenerateOptions) => {
const { jsx } = convertSvgToJsx({
target: "react-dom",
file: options.file,
@@ -63,7 +63,7 @@ export const generateComponentExport = (options: GenerateOptions) => {
plugins: sharedPlugins,
});
return `
-export const ${options.exportName} = forwardRef<SVGSVGElement, IconProps>(
+export const ${options.exportName}: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
${jsx}
@@ -83,7 +83,7 @@ const transformComponentName = (filename: string) => {
let stringContent = "";
let componentsContent = `
import { forwardRef } from "react";
-import type { IconProps } from "../types";
+import type { IconComponent } from "../types";
`.trimStart();
diff --git a/packages/icons/src/__generated__/components.tsx b/packages/icons/src/__generated__/components.tsx
index 5b82c45b0f..a42152f4f1 100644
--- a/packages/icons/src/__generated__/components.tsx
+++ b/packages/icons/src/__generated__/components.tsx
@@ -1,7 +1,7 @@
import { forwardRef } from "react";
-import type { IconProps } from "../types";
+import type { IconComponent } from "../types";
-export const ACCenterIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ACCenterIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -30,7 +30,7 @@ export const ACCenterIcon = forwardRef<SVGSVGElement, IconProps>(
);
ACCenterIcon.displayName = "ACCenterIcon";
-export const ACEndIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ACEndIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -59,7 +59,7 @@ export const ACEndIcon = forwardRef<SVGSVGElement, IconProps>(
);
ACEndIcon.displayName = "ACEndIcon";
-export const ACSpaceAroundIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ACSpaceAroundIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -88,7 +88,7 @@ export const ACSpaceAroundIcon = forwardRef<SVGSVGElement, IconProps>(
);
ACSpaceAroundIcon.displayName = "ACSpaceAroundIcon";
-export const ACSpaceBetweenIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ACSpaceBetweenIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -117,7 +117,7 @@ export const ACSpaceBetweenIcon = forwardRef<SVGSVGElement, IconProps>(
);
ACSpaceBetweenIcon.displayName = "ACSpaceBetweenIcon";
-export const ACStartIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ACStartIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -146,7 +146,7 @@ export const ACStartIcon = forwardRef<SVGSVGElement, IconProps>(
);
ACStartIcon.displayName = "ACStartIcon";
-export const ACStretchIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ACStretchIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -175,7 +175,7 @@ export const ACStretchIcon = forwardRef<SVGSVGElement, IconProps>(
);
ACStretchIcon.displayName = "ACStretchIcon";
-export const AIBaselineIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AIBaselineIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -203,7 +203,7 @@ export const AIBaselineIcon = forwardRef<SVGSVGElement, IconProps>(
);
AIBaselineIcon.displayName = "AIBaselineIcon";
-export const AICenterIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AICenterIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -227,7 +227,7 @@ export const AICenterIcon = forwardRef<SVGSVGElement, IconProps>(
);
AICenterIcon.displayName = "AICenterIcon";
-export const AIEndIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AIEndIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -246,7 +246,7 @@ export const AIEndIcon = forwardRef<SVGSVGElement, IconProps>(
);
AIEndIcon.displayName = "AIEndIcon";
-export const AIStartIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AIStartIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -270,7 +270,7 @@ export const AIStartIcon = forwardRef<SVGSVGElement, IconProps>(
);
AIStartIcon.displayName = "AIStartIcon";
-export const AIStretchIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AIStretchIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -299,7 +299,7 @@ export const AIStretchIcon = forwardRef<SVGSVGElement, IconProps>(
);
AIStretchIcon.displayName = "AIStretchIcon";
-export const ASBaselineIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ASBaselineIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -327,7 +327,7 @@ export const ASBaselineIcon = forwardRef<SVGSVGElement, IconProps>(
);
ASBaselineIcon.displayName = "ASBaselineIcon";
-export const ASCenterIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ASCenterIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -351,7 +351,7 @@ export const ASCenterIcon = forwardRef<SVGSVGElement, IconProps>(
);
ASCenterIcon.displayName = "ASCenterIcon";
-export const ASEndIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ASEndIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -375,7 +375,7 @@ export const ASEndIcon = forwardRef<SVGSVGElement, IconProps>(
);
ASEndIcon.displayName = "ASEndIcon";
-export const ASStartIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ASStartIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -399,7 +399,7 @@ export const ASStartIcon = forwardRef<SVGSVGElement, IconProps>(
);
ASStartIcon.displayName = "ASStartIcon";
-export const ASStretchIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ASStretchIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -428,7 +428,7 @@ export const ASStretchIcon = forwardRef<SVGSVGElement, IconProps>(
);
ASStretchIcon.displayName = "ASStretchIcon";
-export const AccordionContentIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AccordionContentIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -452,7 +452,7 @@ export const AccordionContentIcon = forwardRef<SVGSVGElement, IconProps>(
);
AccordionContentIcon.displayName = "AccordionContentIcon";
-export const AccordionTriggerIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AccordionTriggerIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -476,7 +476,7 @@ export const AccordionTriggerIcon = forwardRef<SVGSVGElement, IconProps>(
);
AccordionTriggerIcon.displayName = "AccordionTriggerIcon";
-export const AccordionIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AccordionIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -500,7 +500,7 @@ export const AccordionIcon = forwardRef<SVGSVGElement, IconProps>(
);
AccordionIcon.displayName = "AccordionIcon";
-export const AiLoadingIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AiLoadingIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -594,7 +594,7 @@ export const AiLoadingIcon = forwardRef<SVGSVGElement, IconProps>(
);
AiLoadingIcon.displayName = "AiLoadingIcon";
-export const AiIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AiIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -617,7 +617,7 @@ export const AiIcon = forwardRef<SVGSVGElement, IconProps>(
);
AiIcon.displayName = "AiIcon";
-export const AlertCircleIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AlertCircleIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -639,7 +639,7 @@ export const AlertCircleIcon = forwardRef<SVGSVGElement, IconProps>(
);
AlertCircleIcon.displayName = "AlertCircleIcon";
-export const AlertIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AlertIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -667,7 +667,7 @@ export const AlertIcon = forwardRef<SVGSVGElement, IconProps>(
);
AlertIcon.displayName = "AlertIcon";
-export const ArrowDownIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ArrowDownIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -690,7 +690,7 @@ export const ArrowDownIcon = forwardRef<SVGSVGElement, IconProps>(
);
ArrowDownIcon.displayName = "ArrowDownIcon";
-export const ArrowLeftIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ArrowLeftIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -713,7 +713,7 @@ export const ArrowLeftIcon = forwardRef<SVGSVGElement, IconProps>(
);
ArrowLeftIcon.displayName = "ArrowLeftIcon";
-export const ArrowRightIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ArrowRightIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -736,7 +736,7 @@ export const ArrowRightIcon = forwardRef<SVGSVGElement, IconProps>(
);
ArrowRightIcon.displayName = "ArrowRightIcon";
-export const ArrowUpIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ArrowUpIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -759,7 +759,7 @@ export const ArrowUpIcon = forwardRef<SVGSVGElement, IconProps>(
);
ArrowUpIcon.displayName = "ArrowUpIcon";
-export const AspectRatioIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AspectRatioIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -782,7 +782,7 @@ export const AspectRatioIcon = forwardRef<SVGSVGElement, IconProps>(
);
AspectRatioIcon.displayName = "AspectRatioIcon";
-export const AttachmentIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AttachmentIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -805,7 +805,7 @@ export const AttachmentIcon = forwardRef<SVGSVGElement, IconProps>(
);
AttachmentIcon.displayName = "AttachmentIcon";
-export const AutoScrollIcon = forwardRef<SVGSVGElement, IconProps>(
+export const AutoScrollIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -829,7 +829,7 @@ export const AutoScrollIcon = forwardRef<SVGSVGElement, IconProps>(
);
AutoScrollIcon.displayName = "AutoScrollIcon";
-export const BagIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BagIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -852,7 +852,7 @@ export const BagIcon = forwardRef<SVGSVGElement, IconProps>(
);
BagIcon.displayName = "BagIcon";
-export const BlockquoteIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BlockquoteIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -871,7 +871,7 @@ export const BlockquoteIcon = forwardRef<SVGSVGElement, IconProps>(
);
BlockquoteIcon.displayName = "BlockquoteIcon";
-export const BodyIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BodyIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -894,7 +894,7 @@ export const BodyIcon = forwardRef<SVGSVGElement, IconProps>(
);
BodyIcon.displayName = "BodyIcon";
-export const BoldIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BoldIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -916,7 +916,7 @@ export const BoldIcon = forwardRef<SVGSVGElement, IconProps>(
);
BoldIcon.displayName = "BoldIcon";
-export const BorderRadiusBottomLeftIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BorderRadiusBottomLeftIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -945,7 +945,7 @@ export const BorderRadiusBottomLeftIcon = forwardRef<SVGSVGElement, IconProps>(
);
BorderRadiusBottomLeftIcon.displayName = "BorderRadiusBottomLeftIcon";
-export const BorderRadiusBottomRightIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BorderRadiusBottomRightIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -974,7 +974,7 @@ export const BorderRadiusBottomRightIcon = forwardRef<SVGSVGElement, IconProps>(
);
BorderRadiusBottomRightIcon.displayName = "BorderRadiusBottomRightIcon";
-export const BorderRadiusIndividualIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BorderRadiusIndividualIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -997,7 +997,7 @@ export const BorderRadiusIndividualIcon = forwardRef<SVGSVGElement, IconProps>(
);
BorderRadiusIndividualIcon.displayName = "BorderRadiusIndividualIcon";
-export const BorderRadiusTopLeftIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BorderRadiusTopLeftIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1026,7 +1026,7 @@ export const BorderRadiusTopLeftIcon = forwardRef<SVGSVGElement, IconProps>(
);
BorderRadiusTopLeftIcon.displayName = "BorderRadiusTopLeftIcon";
-export const BorderRadiusTopRightIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BorderRadiusTopRightIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1055,7 +1055,7 @@ export const BorderRadiusTopRightIcon = forwardRef<SVGSVGElement, IconProps>(
);
BorderRadiusTopRightIcon.displayName = "BorderRadiusTopRightIcon";
-export const BorderRadiusIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BorderRadiusIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1078,7 +1078,7 @@ export const BorderRadiusIcon = forwardRef<SVGSVGElement, IconProps>(
);
BorderRadiusIcon.displayName = "BorderRadiusIcon";
-export const BorderWidthBottomIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BorderWidthBottomIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1107,7 +1107,7 @@ export const BorderWidthBottomIcon = forwardRef<SVGSVGElement, IconProps>(
);
BorderWidthBottomIcon.displayName = "BorderWidthBottomIcon";
-export const BorderWidthIndividualIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BorderWidthIndividualIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1130,7 +1130,7 @@ export const BorderWidthIndividualIcon = forwardRef<SVGSVGElement, IconProps>(
);
BorderWidthIndividualIcon.displayName = "BorderWidthIndividualIcon";
-export const BorderWidthLeftIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BorderWidthLeftIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1159,7 +1159,7 @@ export const BorderWidthLeftIcon = forwardRef<SVGSVGElement, IconProps>(
);
BorderWidthLeftIcon.displayName = "BorderWidthLeftIcon";
-export const BorderWidthRightIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BorderWidthRightIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1188,7 +1188,7 @@ export const BorderWidthRightIcon = forwardRef<SVGSVGElement, IconProps>(
);
BorderWidthRightIcon.displayName = "BorderWidthRightIcon";
-export const BorderWidthTopIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BorderWidthTopIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1217,7 +1217,7 @@ export const BorderWidthTopIcon = forwardRef<SVGSVGElement, IconProps>(
);
BorderWidthTopIcon.displayName = "BorderWidthTopIcon";
-export const BoxIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BoxIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1240,7 +1240,7 @@ export const BoxIcon = forwardRef<SVGSVGElement, IconProps>(
);
BoxIcon.displayName = "BoxIcon";
-export const BpStarOffIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BpStarOffIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1268,7 +1268,7 @@ export const BpStarOffIcon = forwardRef<SVGSVGElement, IconProps>(
);
BpStarOffIcon.displayName = "BpStarOffIcon";
-export const BpStarOnIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BpStarOnIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1296,7 +1296,7 @@ export const BpStarOnIcon = forwardRef<SVGSVGElement, IconProps>(
);
BpStarOnIcon.displayName = "BpStarOnIcon";
-export const BugIcon = forwardRef<SVGSVGElement, IconProps>(
+export const BugIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1320,7 +1320,7 @@ export const BugIcon = forwardRef<SVGSVGElement, IconProps>(
);
BugIcon.displayName = "BugIcon";
-export const ButtonElementIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ButtonElementIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1343,7 +1343,7 @@ export const ButtonElementIcon = forwardRef<SVGSVGElement, IconProps>(
);
ButtonElementIcon.displayName = "ButtonElementIcon";
-export const CalendarIcon = forwardRef<SVGSVGElement, IconProps>(
+export const CalendarIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1366,7 +1366,7 @@ export const CalendarIcon = forwardRef<SVGSVGElement, IconProps>(
);
CalendarIcon.displayName = "CalendarIcon";
-export const CheckCircleIcon = forwardRef<SVGSVGElement, IconProps>(
+export const CheckCircleIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1394,7 +1394,7 @@ export const CheckCircleIcon = forwardRef<SVGSVGElement, IconProps>(
);
CheckCircleIcon.displayName = "CheckCircleIcon";
-export const CheckMarkIcon = forwardRef<SVGSVGElement, IconProps>(
+export const CheckMarkIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1417,7 +1417,7 @@ export const CheckMarkIcon = forwardRef<SVGSVGElement, IconProps>(
);
CheckMarkIcon.displayName = "CheckMarkIcon";
-export const CheckboxCheckedFilledIcon = forwardRef<SVGSVGElement, IconProps>(
+export const CheckboxCheckedFilledIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1440,7 +1440,7 @@ export const CheckboxCheckedFilledIcon = forwardRef<SVGSVGElement, IconProps>(
);
CheckboxCheckedFilledIcon.displayName = "CheckboxCheckedFilledIcon";
-export const CheckboxCheckedIcon = forwardRef<SVGSVGElement, IconProps>(
+export const CheckboxCheckedIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1468,7 +1468,7 @@ export const CheckboxCheckedIcon = forwardRef<SVGSVGElement, IconProps>(
);
CheckboxCheckedIcon.displayName = "CheckboxCheckedIcon";
-export const CheckboxEmptyIcon = forwardRef<SVGSVGElement, IconProps>(
+export const CheckboxEmptyIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1491,7 +1491,7 @@ export const CheckboxEmptyIcon = forwardRef<SVGSVGElement, IconProps>(
);
CheckboxEmptyIcon.displayName = "CheckboxEmptyIcon";
-export const CheckboxMixedFilledIcon = forwardRef<SVGSVGElement, IconProps>(
+export const CheckboxMixedFilledIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1514,7 +1514,7 @@ export const CheckboxMixedFilledIcon = forwardRef<SVGSVGElement, IconProps>(
);
CheckboxMixedFilledIcon.displayName = "CheckboxMixedFilledIcon";
-export const ChevronBigDownIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ChevronBigDownIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1533,7 +1533,7 @@ export const ChevronBigDownIcon = forwardRef<SVGSVGElement, IconProps>(
);
ChevronBigDownIcon.displayName = "ChevronBigDownIcon";
-export const ChevronBigLeftIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ChevronBigLeftIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1552,7 +1552,7 @@ export const ChevronBigLeftIcon = forwardRef<SVGSVGElement, IconProps>(
);
ChevronBigLeftIcon.displayName = "ChevronBigLeftIcon";
-export const ChevronBigRightIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ChevronBigRightIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1571,7 +1571,7 @@ export const ChevronBigRightIcon = forwardRef<SVGSVGElement, IconProps>(
);
ChevronBigRightIcon.displayName = "ChevronBigRightIcon";
-export const ChevronBigUpIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ChevronBigUpIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1590,7 +1590,7 @@ export const ChevronBigUpIcon = forwardRef<SVGSVGElement, IconProps>(
);
ChevronBigUpIcon.displayName = "ChevronBigUpIcon";
-export const ChevronDownIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ChevronDownIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1609,7 +1609,7 @@ export const ChevronDownIcon = forwardRef<SVGSVGElement, IconProps>(
);
ChevronDownIcon.displayName = "ChevronDownIcon";
-export const ChevronFilledDownIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ChevronFilledDownIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1628,7 +1628,7 @@ export const ChevronFilledDownIcon = forwardRef<SVGSVGElement, IconProps>(
);
ChevronFilledDownIcon.displayName = "ChevronFilledDownIcon";
-export const ChevronFilledLeftIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ChevronFilledLeftIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1647,7 +1647,7 @@ export const ChevronFilledLeftIcon = forwardRef<SVGSVGElement, IconProps>(
);
ChevronFilledLeftIcon.displayName = "ChevronFilledLeftIcon";
-export const ChevronFilledRightIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ChevronFilledRightIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1666,7 +1666,7 @@ export const ChevronFilledRightIcon = forwardRef<SVGSVGElement, IconProps>(
);
ChevronFilledRightIcon.displayName = "ChevronFilledRightIcon";
-export const ChevronFilledUpIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ChevronFilledUpIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1685,7 +1685,7 @@ export const ChevronFilledUpIcon = forwardRef<SVGSVGElement, IconProps>(
);
ChevronFilledUpIcon.displayName = "ChevronFilledUpIcon";
-export const ChevronLeftIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ChevronLeftIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1711,7 +1711,7 @@ export const ChevronLeftIcon = forwardRef<SVGSVGElement, IconProps>(
);
ChevronLeftIcon.displayName = "ChevronLeftIcon";
-export const ChevronRightIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ChevronRightIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1737,7 +1737,7 @@ export const ChevronRightIcon = forwardRef<SVGSVGElement, IconProps>(
);
ChevronRightIcon.displayName = "ChevronRightIcon";
-export const ChevronUpIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ChevronUpIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1763,7 +1763,7 @@ export const ChevronUpIcon = forwardRef<SVGSVGElement, IconProps>(
);
ChevronUpIcon.displayName = "ChevronUpIcon";
-export const CloudIcon = forwardRef<SVGSVGElement, IconProps>(
+export const CloudIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1785,7 +1785,7 @@ export const CloudIcon = forwardRef<SVGSVGElement, IconProps>(
);
CloudIcon.displayName = "CloudIcon";
-export const CodeTextIcon = forwardRef<SVGSVGElement, IconProps>(
+export const CodeTextIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1808,7 +1808,7 @@ export const CodeTextIcon = forwardRef<SVGSVGElement, IconProps>(
);
CodeTextIcon.displayName = "CodeTextIcon";
-export const CollapsibleIcon = forwardRef<SVGSVGElement, IconProps>(
+export const CollapsibleIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1831,7 +1831,7 @@ export const CollapsibleIcon = forwardRef<SVGSVGElement, IconProps>(
);
CollapsibleIcon.displayName = "CollapsibleIcon";
-export const CommitIcon = forwardRef<SVGSVGElement, IconProps>(
+export const CommitIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1854,7 +1854,7 @@ export const CommitIcon = forwardRef<SVGSVGElement, IconProps>(
);
CommitIcon.displayName = "CommitIcon";
-export const ContentEmbedIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ContentEmbedIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1879,7 +1879,7 @@ export const ContentEmbedIcon = forwardRef<SVGSVGElement, IconProps>(
);
ContentEmbedIcon.displayName = "ContentEmbedIcon";
-export const ContentIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ContentIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1902,7 +1902,7 @@ export const ContentIcon = forwardRef<SVGSVGElement, IconProps>(
);
ContentIcon.displayName = "ContentIcon";
-export const CopyIcon = forwardRef<SVGSVGElement, IconProps>(
+export const CopyIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1925,7 +1925,7 @@ export const CopyIcon = forwardRef<SVGSVGElement, IconProps>(
);
CopyIcon.displayName = "CopyIcon";
-export const CustomCodeIcon = forwardRef<SVGSVGElement, IconProps>(
+export const CustomCodeIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1953,7 +1953,7 @@ export const CustomCodeIcon = forwardRef<SVGSVGElement, IconProps>(
);
CustomCodeIcon.displayName = "CustomCodeIcon";
-export const DashBorderIcon = forwardRef<SVGSVGElement, IconProps>(
+export const DashBorderIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1976,7 +1976,7 @@ export const DashBorderIcon = forwardRef<SVGSVGElement, IconProps>(
);
DashBorderIcon.displayName = "DashBorderIcon";
-export const DashIcon = forwardRef<SVGSVGElement, IconProps>(
+export const DashIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -1999,7 +1999,7 @@ export const DashIcon = forwardRef<SVGSVGElement, IconProps>(
);
DashIcon.displayName = "DashIcon";
-export const DashedBorderIcon = forwardRef<SVGSVGElement, IconProps>(
+export const DashedBorderIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2022,7 +2022,7 @@ export const DashedBorderIcon = forwardRef<SVGSVGElement, IconProps>(
);
DashedBorderIcon.displayName = "DashedBorderIcon";
-export const DeleteIcon = forwardRef<SVGSVGElement, IconProps>(
+export const DeleteIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2042,7 +2042,7 @@ export const DeleteIcon = forwardRef<SVGSVGElement, IconProps>(
);
DeleteIcon.displayName = "DeleteIcon";
-export const DescriptionIcon = forwardRef<SVGSVGElement, IconProps>(
+export const DescriptionIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2076,7 +2076,7 @@ export const DescriptionIcon = forwardRef<SVGSVGElement, IconProps>(
);
DescriptionIcon.displayName = "DescriptionIcon";
-export const DialogIcon = forwardRef<SVGSVGElement, IconProps>(
+export const DialogIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2106,7 +2106,7 @@ export const DialogIcon = forwardRef<SVGSVGElement, IconProps>(
);
DialogIcon.displayName = "DialogIcon";
-export const DimensionsIcon = forwardRef<SVGSVGElement, IconProps>(
+export const DimensionsIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2129,7 +2129,7 @@ export const DimensionsIcon = forwardRef<SVGSVGElement, IconProps>(
);
DimensionsIcon.displayName = "DimensionsIcon";
-export const DiscordIcon = forwardRef<SVGSVGElement, IconProps>(
+export const DiscordIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2149,7 +2149,7 @@ export const DiscordIcon = forwardRef<SVGSVGElement, IconProps>(
);
DiscordIcon.displayName = "DiscordIcon";
-export const DivIcon = forwardRef<SVGSVGElement, IconProps>(
+export const DivIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2172,7 +2172,7 @@ export const DivIcon = forwardRef<SVGSVGElement, IconProps>(
);
DivIcon.displayName = "DivIcon";
-export const DotIcon = forwardRef<SVGSVGElement, IconProps>(
+export const DotIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2191,7 +2191,7 @@ export const DotIcon = forwardRef<SVGSVGElement, IconProps>(
);
DotIcon.displayName = "DotIcon";
-export const DottedBorderIcon = forwardRef<SVGSVGElement, IconProps>(
+export const DottedBorderIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2214,7 +2214,7 @@ export const DottedBorderIcon = forwardRef<SVGSVGElement, IconProps>(
);
DottedBorderIcon.displayName = "DottedBorderIcon";
-export const DragHandleIcon = forwardRef<SVGSVGElement, IconProps>(
+export const DragHandleIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2236,7 +2236,7 @@ export const DragHandleIcon = forwardRef<SVGSVGElement, IconProps>(
);
DragHandleIcon.displayName = "DragHandleIcon";
-export const DynamicPageIcon = forwardRef<SVGSVGElement, IconProps>(
+export const DynamicPageIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2264,7 +2264,7 @@ export const DynamicPageIcon = forwardRef<SVGSVGElement, IconProps>(
);
DynamicPageIcon.displayName = "DynamicPageIcon";
-export const EllipsesIcon = forwardRef<SVGSVGElement, IconProps>(
+export const EllipsesIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2283,7 +2283,7 @@ export const EllipsesIcon = forwardRef<SVGSVGElement, IconProps>(
);
EllipsesIcon.displayName = "EllipsesIcon";
-export const EmailIcon = forwardRef<SVGSVGElement, IconProps>(
+export const EmailIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2306,7 +2306,7 @@ export const EmailIcon = forwardRef<SVGSVGElement, IconProps>(
);
EmailIcon.displayName = "EmailIcon";
-export const EmbedIcon = forwardRef<SVGSVGElement, IconProps>(
+export const EmbedIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2329,7 +2329,7 @@ export const EmbedIcon = forwardRef<SVGSVGElement, IconProps>(
);
EmbedIcon.displayName = "EmbedIcon";
-export const ExtensionIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ExtensionIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2359,7 +2359,7 @@ export const ExtensionIcon = forwardRef<SVGSVGElement, IconProps>(
);
ExtensionIcon.displayName = "ExtensionIcon";
-export const ExternalLinkIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ExternalLinkIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2382,7 +2382,7 @@ export const ExternalLinkIcon = forwardRef<SVGSVGElement, IconProps>(
);
ExternalLinkIcon.displayName = "ExternalLinkIcon";
-export const EyeconClosedIcon = forwardRef<SVGSVGElement, IconProps>(
+export const EyeconClosedIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2401,7 +2401,7 @@ export const EyeconClosedIcon = forwardRef<SVGSVGElement, IconProps>(
);
EyeconClosedIcon.displayName = "EyeconClosedIcon";
-export const EyeconOpenIcon = forwardRef<SVGSVGElement, IconProps>(
+export const EyeconOpenIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2425,7 +2425,7 @@ export const EyeconOpenIcon = forwardRef<SVGSVGElement, IconProps>(
);
EyeconOpenIcon.displayName = "EyeconOpenIcon";
-export const EyedropperIcon = forwardRef<SVGSVGElement, IconProps>(
+export const EyedropperIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2447,7 +2447,7 @@ export const EyedropperIcon = forwardRef<SVGSVGElement, IconProps>(
);
EyedropperIcon.displayName = "EyedropperIcon";
-export const FolderIcon = forwardRef<SVGSVGElement, IconProps>(
+export const FolderIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2471,7 +2471,7 @@ export const FolderIcon = forwardRef<SVGSVGElement, IconProps>(
);
FolderIcon.displayName = "FolderIcon";
-export const FooterIcon = forwardRef<SVGSVGElement, IconProps>(
+export const FooterIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2494,7 +2494,7 @@ export const FooterIcon = forwardRef<SVGSVGElement, IconProps>(
);
FooterIcon.displayName = "FooterIcon";
-export const FormTextAreaIcon = forwardRef<SVGSVGElement, IconProps>(
+export const FormTextAreaIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2517,7 +2517,7 @@ export const FormTextAreaIcon = forwardRef<SVGSVGElement, IconProps>(
);
FormTextAreaIcon.displayName = "FormTextAreaIcon";
-export const FormTextFieldIcon = forwardRef<SVGSVGElement, IconProps>(
+export const FormTextFieldIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2540,7 +2540,7 @@ export const FormTextFieldIcon = forwardRef<SVGSVGElement, IconProps>(
);
FormTextFieldIcon.displayName = "FormTextFieldIcon";
-export const FormIcon = forwardRef<SVGSVGElement, IconProps>(
+export const FormIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2563,7 +2563,7 @@ export const FormIcon = forwardRef<SVGSVGElement, IconProps>(
);
FormIcon.displayName = "FormIcon";
-export const GapHorizontalIcon = forwardRef<SVGSVGElement, IconProps>(
+export const GapHorizontalIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2582,7 +2582,7 @@ export const GapHorizontalIcon = forwardRef<SVGSVGElement, IconProps>(
);
GapHorizontalIcon.displayName = "GapHorizontalIcon";
-export const GapVerticalIcon = forwardRef<SVGSVGElement, IconProps>(
+export const GapVerticalIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2601,7 +2601,7 @@ export const GapVerticalIcon = forwardRef<SVGSVGElement, IconProps>(
);
GapVerticalIcon.displayName = "GapVerticalIcon";
-export const GithubIcon = forwardRef<SVGSVGElement, IconProps>(
+export const GithubIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2624,7 +2624,7 @@ export const GithubIcon = forwardRef<SVGSVGElement, IconProps>(
);
GithubIcon.displayName = "GithubIcon";
-export const GoogleIcon = forwardRef<SVGSVGElement, IconProps>(
+export const GoogleIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2658,7 +2658,7 @@ export const GoogleIcon = forwardRef<SVGSVGElement, IconProps>(
);
GoogleIcon.displayName = "GoogleIcon";
-export const GrowIcon = forwardRef<SVGSVGElement, IconProps>(
+export const GrowIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2681,7 +2681,7 @@ export const GrowIcon = forwardRef<SVGSVGElement, IconProps>(
);
GrowIcon.displayName = "GrowIcon";
-export const HamburgerMenuIcon = forwardRef<SVGSVGElement, IconProps>(
+export const HamburgerMenuIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2704,7 +2704,7 @@ export const HamburgerMenuIcon = forwardRef<SVGSVGElement, IconProps>(
);
HamburgerMenuIcon.displayName = "HamburgerMenuIcon";
-export const HeaderIcon = forwardRef<SVGSVGElement, IconProps>(
+export const HeaderIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2727,7 +2727,7 @@ export const HeaderIcon = forwardRef<SVGSVGElement, IconProps>(
);
HeaderIcon.displayName = "HeaderIcon";
-export const HeadingIcon = forwardRef<SVGSVGElement, IconProps>(
+export const HeadingIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2750,7 +2750,7 @@ export const HeadingIcon = forwardRef<SVGSVGElement, IconProps>(
);
HeadingIcon.displayName = "HeadingIcon";
-export const HelpIcon = forwardRef<SVGSVGElement, IconProps>(
+export const HelpIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2770,7 +2770,7 @@ export const HelpIcon = forwardRef<SVGSVGElement, IconProps>(
);
HelpIcon.displayName = "HelpIcon";
-export const HomeIcon = forwardRef<SVGSVGElement, IconProps>(
+export const HomeIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2793,7 +2793,7 @@ export const HomeIcon = forwardRef<SVGSVGElement, IconProps>(
);
HomeIcon.displayName = "HomeIcon";
-export const ImageIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ImageIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2816,7 +2816,7 @@ export const ImageIcon = forwardRef<SVGSVGElement, IconProps>(
);
ImageIcon.displayName = "ImageIcon";
-export const InfoCircleIcon = forwardRef<SVGSVGElement, IconProps>(
+export const InfoCircleIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2842,7 +2842,7 @@ export const InfoCircleIcon = forwardRef<SVGSVGElement, IconProps>(
);
InfoCircleIcon.displayName = "InfoCircleIcon";
-export const ItemIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ItemIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2866,7 +2866,7 @@ export const ItemIcon = forwardRef<SVGSVGElement, IconProps>(
);
ItemIcon.displayName = "ItemIcon";
-export const JCCenterIcon = forwardRef<SVGSVGElement, IconProps>(
+export const JCCenterIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2891,7 +2891,7 @@ export const JCCenterIcon = forwardRef<SVGSVGElement, IconProps>(
);
JCCenterIcon.displayName = "JCCenterIcon";
-export const JCEndIcon = forwardRef<SVGSVGElement, IconProps>(
+export const JCEndIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2915,7 +2915,7 @@ export const JCEndIcon = forwardRef<SVGSVGElement, IconProps>(
);
JCEndIcon.displayName = "JCEndIcon";
-export const JCSpaceAroundIcon = forwardRef<SVGSVGElement, IconProps>(
+export const JCSpaceAroundIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2944,7 +2944,7 @@ export const JCSpaceAroundIcon = forwardRef<SVGSVGElement, IconProps>(
);
JCSpaceAroundIcon.displayName = "JCSpaceAroundIcon";
-export const JCSpaceBetweenIcon = forwardRef<SVGSVGElement, IconProps>(
+export const JCSpaceBetweenIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2973,7 +2973,7 @@ export const JCSpaceBetweenIcon = forwardRef<SVGSVGElement, IconProps>(
);
JCSpaceBetweenIcon.displayName = "JCSpaceBetweenIcon";
-export const JCStartIcon = forwardRef<SVGSVGElement, IconProps>(
+export const JCStartIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -2997,7 +2997,7 @@ export const JCStartIcon = forwardRef<SVGSVGElement, IconProps>(
);
JCStartIcon.displayName = "JCStartIcon";
-export const LabelIcon = forwardRef<SVGSVGElement, IconProps>(
+export const LabelIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3020,7 +3020,7 @@ export const LabelIcon = forwardRef<SVGSVGElement, IconProps>(
);
LabelIcon.displayName = "LabelIcon";
-export const LargeXIcon = forwardRef<SVGSVGElement, IconProps>(
+export const LargeXIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3043,7 +3043,7 @@ export const LargeXIcon = forwardRef<SVGSVGElement, IconProps>(
);
LargeXIcon.displayName = "LargeXIcon";
-export const Link2UnlinkedIcon = forwardRef<SVGSVGElement, IconProps>(
+export const Link2UnlinkedIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3066,7 +3066,7 @@ export const Link2UnlinkedIcon = forwardRef<SVGSVGElement, IconProps>(
);
Link2UnlinkedIcon.displayName = "Link2UnlinkedIcon";
-export const Link2Icon = forwardRef<SVGSVGElement, IconProps>(
+export const Link2Icon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3089,7 +3089,7 @@ export const Link2Icon = forwardRef<SVGSVGElement, IconProps>(
);
Link2Icon.displayName = "Link2Icon";
-export const LinkIcon = forwardRef<SVGSVGElement, IconProps>(
+export const LinkIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3112,7 +3112,7 @@ export const LinkIcon = forwardRef<SVGSVGElement, IconProps>(
);
LinkIcon.displayName = "LinkIcon";
-export const ListItemIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ListItemIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3136,7 +3136,7 @@ export const ListItemIcon = forwardRef<SVGSVGElement, IconProps>(
);
ListItemIcon.displayName = "ListItemIcon";
-export const ListViewIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ListViewIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3159,7 +3159,7 @@ export const ListViewIcon = forwardRef<SVGSVGElement, IconProps>(
);
ListViewIcon.displayName = "ListViewIcon";
-export const ListIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ListIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3195,7 +3195,7 @@ export const ListIcon = forwardRef<SVGSVGElement, IconProps>(
);
ListIcon.displayName = "ListIcon";
-export const LoadingDotsIcon = forwardRef<SVGSVGElement, IconProps>(
+export const LoadingDotsIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3239,7 +3239,7 @@ export const LoadingDotsIcon = forwardRef<SVGSVGElement, IconProps>(
);
LoadingDotsIcon.displayName = "LoadingDotsIcon";
-export const LocalStyleIcon = forwardRef<SVGSVGElement, IconProps>(
+export const LocalStyleIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3269,7 +3269,7 @@ export const LocalStyleIcon = forwardRef<SVGSVGElement, IconProps>(
);
LocalStyleIcon.displayName = "LocalStyleIcon";
-export const MarkdownEmbedIcon = forwardRef<SVGSVGElement, IconProps>(
+export const MarkdownEmbedIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3293,7 +3293,7 @@ export const MarkdownEmbedIcon = forwardRef<SVGSVGElement, IconProps>(
);
MarkdownEmbedIcon.displayName = "MarkdownEmbedIcon";
-export const MaximizeIcon = forwardRef<SVGSVGElement, IconProps>(
+export const MaximizeIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3315,7 +3315,7 @@ export const MaximizeIcon = forwardRef<SVGSVGElement, IconProps>(
);
MaximizeIcon.displayName = "MaximizeIcon";
-export const MicOffIcon = forwardRef<SVGSVGElement, IconProps>(
+export const MicOffIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3338,7 +3338,7 @@ export const MicOffIcon = forwardRef<SVGSVGElement, IconProps>(
);
MicOffIcon.displayName = "MicOffIcon";
-export const MicIcon = forwardRef<SVGSVGElement, IconProps>(
+export const MicIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3361,7 +3361,7 @@ export const MicIcon = forwardRef<SVGSVGElement, IconProps>(
);
MicIcon.displayName = "MicIcon";
-export const MinimizeIcon = forwardRef<SVGSVGElement, IconProps>(
+export const MinimizeIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3383,7 +3383,7 @@ export const MinimizeIcon = forwardRef<SVGSVGElement, IconProps>(
);
MinimizeIcon.displayName = "MinimizeIcon";
-export const MinusIcon = forwardRef<SVGSVGElement, IconProps>(
+export const MinusIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3406,7 +3406,7 @@ export const MinusIcon = forwardRef<SVGSVGElement, IconProps>(
);
MinusIcon.displayName = "MinusIcon";
-export const NavigationMenuIcon = forwardRef<SVGSVGElement, IconProps>(
+export const NavigationMenuIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3425,7 +3425,7 @@ export const NavigationMenuIcon = forwardRef<SVGSVGElement, IconProps>(
);
NavigationMenuIcon.displayName = "NavigationMenuIcon";
-export const NavigatorIcon = forwardRef<SVGSVGElement, IconProps>(
+export const NavigatorIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3447,7 +3447,7 @@ export const NavigatorIcon = forwardRef<SVGSVGElement, IconProps>(
);
NavigatorIcon.displayName = "NavigatorIcon";
-export const NoWrapIcon = forwardRef<SVGSVGElement, IconProps>(
+export const NoWrapIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3466,7 +3466,7 @@ export const NoWrapIcon = forwardRef<SVGSVGElement, IconProps>(
);
NoWrapIcon.displayName = "NoWrapIcon";
-export const OfflineIcon = forwardRef<SVGSVGElement, IconProps>(
+export const OfflineIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3488,7 +3488,7 @@ export const OfflineIcon = forwardRef<SVGSVGElement, IconProps>(
);
OfflineIcon.displayName = "OfflineIcon";
-export const OrderFirstIcon = forwardRef<SVGSVGElement, IconProps>(
+export const OrderFirstIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3512,7 +3512,7 @@ export const OrderFirstIcon = forwardRef<SVGSVGElement, IconProps>(
);
OrderFirstIcon.displayName = "OrderFirstIcon";
-export const OrderLastIcon = forwardRef<SVGSVGElement, IconProps>(
+export const OrderLastIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3536,7 +3536,7 @@ export const OrderLastIcon = forwardRef<SVGSVGElement, IconProps>(
);
OrderLastIcon.displayName = "OrderLastIcon";
-export const OverlayIcon = forwardRef<SVGSVGElement, IconProps>(
+export const OverlayIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3558,7 +3558,7 @@ export const OverlayIcon = forwardRef<SVGSVGElement, IconProps>(
);
OverlayIcon.displayName = "OverlayIcon";
-export const PageIcon = forwardRef<SVGSVGElement, IconProps>(
+export const PageIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3581,7 +3581,7 @@ export const PageIcon = forwardRef<SVGSVGElement, IconProps>(
);
PageIcon.displayName = "PageIcon";
-export const PaintBrushIcon = forwardRef<SVGSVGElement, IconProps>(
+export const PaintBrushIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3603,7 +3603,7 @@ export const PaintBrushIcon = forwardRef<SVGSVGElement, IconProps>(
);
PaintBrushIcon.displayName = "PaintBrushIcon";
-export const PhoneIcon = forwardRef<SVGSVGElement, IconProps>(
+export const PhoneIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3626,7 +3626,7 @@ export const PhoneIcon = forwardRef<SVGSVGElement, IconProps>(
);
PhoneIcon.displayName = "PhoneIcon";
-export const PlayIcon = forwardRef<SVGSVGElement, IconProps>(
+export const PlayIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3645,7 +3645,7 @@ export const PlayIcon = forwardRef<SVGSVGElement, IconProps>(
);
PlayIcon.displayName = "PlayIcon";
-export const PluginIcon = forwardRef<SVGSVGElement, IconProps>(
+export const PluginIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3668,7 +3668,7 @@ export const PluginIcon = forwardRef<SVGSVGElement, IconProps>(
);
PluginIcon.displayName = "PluginIcon";
-export const PlusIcon = forwardRef<SVGSVGElement, IconProps>(
+export const PlusIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3696,7 +3696,7 @@ export const PlusIcon = forwardRef<SVGSVGElement, IconProps>(
);
PlusIcon.displayName = "PlusIcon";
-export const PopoverIcon = forwardRef<SVGSVGElement, IconProps>(
+export const PopoverIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3719,7 +3719,7 @@ export const PopoverIcon = forwardRef<SVGSVGElement, IconProps>(
);
PopoverIcon.displayName = "PopoverIcon";
-export const RadioCheckedIcon = forwardRef<SVGSVGElement, IconProps>(
+export const RadioCheckedIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3743,7 +3743,7 @@ export const RadioCheckedIcon = forwardRef<SVGSVGElement, IconProps>(
);
RadioCheckedIcon.displayName = "RadioCheckedIcon";
-export const RadioDotIcon = forwardRef<SVGSVGElement, IconProps>(
+export const RadioDotIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3762,7 +3762,7 @@ export const RadioDotIcon = forwardRef<SVGSVGElement, IconProps>(
);
RadioDotIcon.displayName = "RadioDotIcon";
-export const RadioUncheckedIcon = forwardRef<SVGSVGElement, IconProps>(
+export const RadioUncheckedIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3785,7 +3785,7 @@ export const RadioUncheckedIcon = forwardRef<SVGSVGElement, IconProps>(
);
RadioUncheckedIcon.displayName = "RadioUncheckedIcon";
-export const RefreshIcon = forwardRef<SVGSVGElement, IconProps>(
+export const RefreshIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3808,7 +3808,7 @@ export const RefreshIcon = forwardRef<SVGSVGElement, IconProps>(
);
RefreshIcon.displayName = "RefreshIcon";
-export const RepeatColumnIcon = forwardRef<SVGSVGElement, IconProps>(
+export const RepeatColumnIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3827,7 +3827,7 @@ export const RepeatColumnIcon = forwardRef<SVGSVGElement, IconProps>(
);
RepeatColumnIcon.displayName = "RepeatColumnIcon";
-export const RepeatGridIcon = forwardRef<SVGSVGElement, IconProps>(
+export const RepeatGridIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3846,7 +3846,7 @@ export const RepeatGridIcon = forwardRef<SVGSVGElement, IconProps>(
);
RepeatGridIcon.displayName = "RepeatGridIcon";
-export const RepeatRowIcon = forwardRef<SVGSVGElement, IconProps>(
+export const RepeatRowIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3865,7 +3865,7 @@ export const RepeatRowIcon = forwardRef<SVGSVGElement, IconProps>(
);
RepeatRowIcon.displayName = "RepeatRowIcon";
-export const ResetIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ResetIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3888,7 +3888,7 @@ export const ResetIcon = forwardRef<SVGSVGElement, IconProps>(
);
ResetIcon.displayName = "ResetIcon";
-export const ScrollIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ScrollIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3912,7 +3912,7 @@ export const ScrollIcon = forwardRef<SVGSVGElement, IconProps>(
);
ScrollIcon.displayName = "ScrollIcon";
-export const SectionLinkIcon = forwardRef<SVGSVGElement, IconProps>(
+export const SectionLinkIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3935,7 +3935,7 @@ export const SectionLinkIcon = forwardRef<SVGSVGElement, IconProps>(
);
SectionLinkIcon.displayName = "SectionLinkIcon";
-export const SelectIcon = forwardRef<SVGSVGElement, IconProps>(
+export const SelectIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3959,7 +3959,7 @@ export const SelectIcon = forwardRef<SVGSVGElement, IconProps>(
);
SelectIcon.displayName = "SelectIcon";
-export const ShadowInsetIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ShadowInsetIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -3983,7 +3983,7 @@ export const ShadowInsetIcon = forwardRef<SVGSVGElement, IconProps>(
);
ShadowInsetIcon.displayName = "ShadowInsetIcon";
-export const ShadowNormalIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ShadowNormalIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4007,7 +4007,7 @@ export const ShadowNormalIcon = forwardRef<SVGSVGElement, IconProps>(
);
ShadowNormalIcon.displayName = "ShadowNormalIcon";
-export const ShrinkIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ShrinkIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4030,7 +4030,7 @@ export const ShrinkIcon = forwardRef<SVGSVGElement, IconProps>(
);
ShrinkIcon.displayName = "ShrinkIcon";
-export const SliderIcon = forwardRef<SVGSVGElement, IconProps>(
+export const SliderIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4053,7 +4053,7 @@ export const SliderIcon = forwardRef<SVGSVGElement, IconProps>(
);
SliderIcon.displayName = "SliderIcon";
-export const SlotComponentIcon = forwardRef<SVGSVGElement, IconProps>(
+export const SlotComponentIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4072,7 +4072,7 @@ export const SlotComponentIcon = forwardRef<SVGSVGElement, IconProps>(
);
SlotComponentIcon.displayName = "SlotComponentIcon";
-export const SmallXIcon = forwardRef<SVGSVGElement, IconProps>(
+export const SmallXIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4095,7 +4095,7 @@ export const SmallXIcon = forwardRef<SVGSVGElement, IconProps>(
);
SmallXIcon.displayName = "SmallXIcon";
-export const SpinnerIcon = forwardRef<SVGSVGElement, IconProps>(
+export const SpinnerIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4134,7 +4134,7 @@ export const SpinnerIcon = forwardRef<SVGSVGElement, IconProps>(
);
SpinnerIcon.displayName = "SpinnerIcon";
-export const StopIcon = forwardRef<SVGSVGElement, IconProps>(
+export const StopIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4153,7 +4153,7 @@ export const StopIcon = forwardRef<SVGSVGElement, IconProps>(
);
StopIcon.displayName = "StopIcon";
-export const SubscriptIcon = forwardRef<SVGSVGElement, IconProps>(
+export const SubscriptIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4177,7 +4177,7 @@ export const SubscriptIcon = forwardRef<SVGSVGElement, IconProps>(
);
SubscriptIcon.displayName = "SubscriptIcon";
-export const SubtractIcon = forwardRef<SVGSVGElement, IconProps>(
+export const SubtractIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4200,7 +4200,7 @@ export const SubtractIcon = forwardRef<SVGSVGElement, IconProps>(
);
SubtractIcon.displayName = "SubtractIcon";
-export const SuperscriptIcon = forwardRef<SVGSVGElement, IconProps>(
+export const SuperscriptIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4224,7 +4224,7 @@ export const SuperscriptIcon = forwardRef<SVGSVGElement, IconProps>(
);
SuperscriptIcon.displayName = "SuperscriptIcon";
-export const SwitchIcon = forwardRef<SVGSVGElement, IconProps>(
+export const SwitchIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4247,7 +4247,7 @@ export const SwitchIcon = forwardRef<SVGSVGElement, IconProps>(
);
SwitchIcon.displayName = "SwitchIcon";
-export const TabsIcon = forwardRef<SVGSVGElement, IconProps>(
+export const TabsIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4270,7 +4270,7 @@ export const TabsIcon = forwardRef<SVGSVGElement, IconProps>(
);
TabsIcon.displayName = "TabsIcon";
-export const TextAlignLeftIcon = forwardRef<SVGSVGElement, IconProps>(
+export const TextAlignLeftIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4293,7 +4293,7 @@ export const TextAlignLeftIcon = forwardRef<SVGSVGElement, IconProps>(
);
TextAlignLeftIcon.displayName = "TextAlignLeftIcon";
-export const TextItalicIcon = forwardRef<SVGSVGElement, IconProps>(
+export const TextItalicIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4315,7 +4315,7 @@ export const TextItalicIcon = forwardRef<SVGSVGElement, IconProps>(
);
TextItalicIcon.displayName = "TextItalicIcon";
-export const TextIcon = forwardRef<SVGSVGElement, IconProps>(
+export const TextIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4338,7 +4338,7 @@ export const TextIcon = forwardRef<SVGSVGElement, IconProps>(
);
TextIcon.displayName = "TextIcon";
-export const TooltipIcon = forwardRef<SVGSVGElement, IconProps>(
+export const TooltipIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4361,7 +4361,7 @@ export const TooltipIcon = forwardRef<SVGSVGElement, IconProps>(
);
TooltipIcon.displayName = "TooltipIcon";
-export const TriggerIcon = forwardRef<SVGSVGElement, IconProps>(
+export const TriggerIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4384,7 +4384,7 @@ export const TriggerIcon = forwardRef<SVGSVGElement, IconProps>(
);
TriggerIcon.displayName = "TriggerIcon";
-export const UpgradeIcon = forwardRef<SVGSVGElement, IconProps>(
+export const UpgradeIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4412,7 +4412,7 @@ export const UpgradeIcon = forwardRef<SVGSVGElement, IconProps>(
);
UpgradeIcon.displayName = "UpgradeIcon";
-export const UploadIcon = forwardRef<SVGSVGElement, IconProps>(
+export const UploadIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4436,7 +4436,7 @@ export const UploadIcon = forwardRef<SVGSVGElement, IconProps>(
);
UploadIcon.displayName = "UploadIcon";
-export const VideoIcon = forwardRef<SVGSVGElement, IconProps>(
+export const VideoIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4460,7 +4460,7 @@ export const VideoIcon = forwardRef<SVGSVGElement, IconProps>(
);
VideoIcon.displayName = "VideoIcon";
-export const ViewportIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ViewportIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4483,7 +4483,7 @@ export const ViewportIcon = forwardRef<SVGSVGElement, IconProps>(
);
ViewportIcon.displayName = "ViewportIcon";
-export const VimeoIcon = forwardRef<SVGSVGElement, IconProps>(
+export const VimeoIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4502,7 +4502,7 @@ export const VimeoIcon = forwardRef<SVGSVGElement, IconProps>(
);
VimeoIcon.displayName = "VimeoIcon";
-export const WebhookFormIcon = forwardRef<SVGSVGElement, IconProps>(
+export const WebhookFormIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4524,7 +4524,7 @@ export const WebhookFormIcon = forwardRef<SVGSVGElement, IconProps>(
);
WebhookFormIcon.displayName = "WebhookFormIcon";
-export const Webstudio1cIcon = forwardRef<SVGSVGElement, IconProps>(
+export const Webstudio1cIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4557,7 +4557,7 @@ export const Webstudio1cIcon = forwardRef<SVGSVGElement, IconProps>(
);
Webstudio1cIcon.displayName = "Webstudio1cIcon";
-export const WebstudioIcon = forwardRef<SVGSVGElement, IconProps>(
+export const WebstudioIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4908,7 +4908,7 @@ export const WebstudioIcon = forwardRef<SVGSVGElement, IconProps>(
);
WebstudioIcon.displayName = "WebstudioIcon";
-export const WrapIcon = forwardRef<SVGSVGElement, IconProps>(
+export const WrapIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4928,7 +4928,7 @@ export const WrapIcon = forwardRef<SVGSVGElement, IconProps>(
);
WrapIcon.displayName = "WrapIcon";
-export const XAxisRotateIcon = forwardRef<SVGSVGElement, IconProps>(
+export const XAxisRotateIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4950,7 +4950,7 @@ export const XAxisRotateIcon = forwardRef<SVGSVGElement, IconProps>(
);
XAxisRotateIcon.displayName = "XAxisRotateIcon";
-export const XAxisIcon = forwardRef<SVGSVGElement, IconProps>(
+export const XAxisIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4972,7 +4972,7 @@ export const XAxisIcon = forwardRef<SVGSVGElement, IconProps>(
);
XAxisIcon.displayName = "XAxisIcon";
-export const XIcon = forwardRef<SVGSVGElement, IconProps>(
+export const XIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -4991,7 +4991,7 @@ export const XIcon = forwardRef<SVGSVGElement, IconProps>(
);
XIcon.displayName = "XIcon";
-export const XmlIcon = forwardRef<SVGSVGElement, IconProps>(
+export const XmlIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -5016,7 +5016,7 @@ export const XmlIcon = forwardRef<SVGSVGElement, IconProps>(
);
XmlIcon.displayName = "XmlIcon";
-export const YAxisRotateIcon = forwardRef<SVGSVGElement, IconProps>(
+export const YAxisRotateIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -5038,7 +5038,7 @@ export const YAxisRotateIcon = forwardRef<SVGSVGElement, IconProps>(
);
YAxisRotateIcon.displayName = "YAxisRotateIcon";
-export const YAxisIcon = forwardRef<SVGSVGElement, IconProps>(
+export const YAxisIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -5060,7 +5060,7 @@ export const YAxisIcon = forwardRef<SVGSVGElement, IconProps>(
);
YAxisIcon.displayName = "YAxisIcon";
-export const Youtube1cIcon = forwardRef<SVGSVGElement, IconProps>(
+export const Youtube1cIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -5083,7 +5083,7 @@ export const Youtube1cIcon = forwardRef<SVGSVGElement, IconProps>(
);
Youtube1cIcon.displayName = "Youtube1cIcon";
-export const ZAxisRotateIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ZAxisRotateIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
@@ -5105,7 +5105,7 @@ export const ZAxisRotateIcon = forwardRef<SVGSVGElement, IconProps>(
);
ZAxisRotateIcon.displayName = "ZAxisRotateIcon";
-export const ZAxisIcon = forwardRef<SVGSVGElement, IconProps>(
+export const ZAxisIcon: IconComponent = forwardRef(
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/chevron-double-down.tsx b/packages/icons/src/chevron-double-down.tsx
deleted file mode 100644
index 8ead227af9..0000000000
--- a/packages/icons/src/chevron-double-down.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import * as React from "react";
-import type { IconProps } from "./types";
-
-export const ChevronDoubleDownIcon = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="16"
- height="16"
- viewBox="0 0 16 16"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- d="M13 2L8 7L3 2M13 9L8 14L3 9"
- stroke={color}
- strokeWidth="1.3"
- strokeLinecap="round"
- strokeLinejoin="round"
- />
- </svg>
- );
- }
-);
-
-ChevronDoubleDownIcon.displayName = "ChevronDoubleDownIcon";
diff --git a/packages/icons/src/chevron-double-left.tsx b/packages/icons/src/chevron-double-left.tsx
index 9b2da8036d..16e03ec13f 100644
--- a/packages/icons/src/chevron-double-left.tsx
+++ b/packages/icons/src/chevron-double-left.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const ChevronDoubleLeftIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const ChevronDoubleLeftIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/chevron-double-right.tsx b/packages/icons/src/chevron-double-right.tsx
deleted file mode 100644
index 2827c01f17..0000000000
--- a/packages/icons/src/chevron-double-right.tsx
+++ /dev/null
@@ -1,29 +0,0 @@
-import * as React from "react";
-import type { IconProps } from "./types";
-
-export const ChevronDoubleRightIcon = React.forwardRef<
- SVGSVGElement,
- IconProps
->(({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="16"
- height="16"
- viewBox="0 0 16 16"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- d="M2 3L7 8L2 13M9 3L14 8L9 13"
- stroke={color}
- strokeWidth="1.3"
- strokeLinecap="round"
- strokeLinejoin="round"
- />
- </svg>
- );
-});
-
-ChevronDoubleRightIcon.displayName = "ChevronDoubleRightIcon";
diff --git a/packages/icons/src/chevron-double-up.tsx b/packages/icons/src/chevron-double-up.tsx
deleted file mode 100644
index d10c1c31c5..0000000000
--- a/packages/icons/src/chevron-double-up.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import * as React from "react";
-import type { IconProps } from "./types";
-
-export const ChevronDoubleUpIcon = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="16"
- height="16"
- viewBox="0 0 16 16"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- d="M3 14L8 9L13 14M3 7L8 2L13 7"
- stroke={color}
- strokeWidth="1.3"
- strokeLinecap="round"
- strokeLinejoin="round"
- />
- </svg>
- );
- }
-);
-
-ChevronDoubleUpIcon.displayName = "ChevronDoubleUpIcon";
diff --git a/packages/icons/src/cross-circled-filled.tsx b/packages/icons/src/cross-circled-filled.tsx
index 78b8e78b5d..1912621e86 100644
--- a/packages/icons/src/cross-circled-filled.tsx
+++ b/packages/icons/src/cross-circled-filled.tsx
@@ -1,28 +1,27 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const CrossCircledFilledIcon = React.forwardRef<
- SVGSVGElement,
- IconProps
->(({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="16"
- height="16"
- viewBox="0 0 16 16"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M14 8C14 8.78793 13.8448 9.56815 13.5433 10.2961C13.2417 11.0241 12.7998 11.6855 12.2426 12.2426C11.6855 12.7998 11.0241 13.2417 10.2961 13.5433C9.56815 13.8448 8.78793 14 8 14C7.21207 14 6.43185 13.8448 5.7039 13.5433C4.97595 13.2417 4.31451 12.7998 3.75736 12.2426C3.20021 11.6855 2.75825 11.0241 2.45672 10.2961C2.15519 9.56815 2 8.78793 2 8C2 6.4087 2.63214 4.88258 3.75736 3.75736C4.88258 2.63214 6.4087 2 8 2C9.5913 2 11.1174 2.63214 12.2426 3.75736C13.3679 4.88258 14 6.4087 14 8ZM6.42426 5.57574C6.18995 5.34142 5.81005 5.34142 5.57574 5.57574C5.34142 5.81005 5.34142 6.18995 5.57574 6.42426L7.15147 8L5.57574 9.57574C5.34142 9.81005 5.34142 10.1899 5.57574 10.4243C5.81005 10.6586 6.18995 10.6586 6.42426 10.4243L8 8.84853L9.57574 10.4243C9.81005 10.6586 10.1899 10.6586 10.4243 10.4243C10.6586 10.1899 10.6586 9.81005 10.4243 9.57574L8.84853 8L10.4243 6.42426C10.6586 6.18995 10.6586 5.81005 10.4243 5.57574C10.1899 5.34142 9.81005 5.34142 9.57574 5.57574L8 7.15147L6.42426 5.57574Z"
- fill={color}
- />
- </svg>
- );
-});
+export const CrossCircledFilledIcon: IconComponent = React.forwardRef(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ width="16"
+ height="16"
+ viewBox="0 0 16 16"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M14 8C14 8.78793 13.8448 9.56815 13.5433 10.2961C13.2417 11.0241 12.7998 11.6855 12.2426 12.2426C11.6855 12.7998 11.0241 13.2417 10.2961 13.5433C9.56815 13.8448 8.78793 14 8 14C7.21207 14 6.43185 13.8448 5.7039 13.5433C4.97595 13.2417 4.31451 12.7998 3.75736 12.2426C3.20021 11.6855 2.75825 11.0241 2.45672 10.2961C2.15519 9.56815 2 8.78793 2 8C2 6.4087 2.63214 4.88258 3.75736 3.75736C4.88258 2.63214 6.4087 2 8 2C9.5913 2 11.1174 2.63214 12.2426 3.75736C13.3679 4.88258 14 6.4087 14 8ZM6.42426 5.57574C6.18995 5.34142 5.81005 5.34142 5.57574 5.57574C5.34142 5.81005 5.34142 6.18995 5.57574 6.42426L7.15147 8L5.57574 9.57574C5.34142 9.81005 5.34142 10.1899 5.57574 10.4243C5.81005 10.6586 6.18995 10.6586 6.42426 10.4243L8 8.84853L9.57574 10.4243C9.81005 10.6586 10.1899 10.6586 10.4243 10.4243C10.6586 10.1899 10.6586 9.81005 10.4243 9.57574L8.84853 8L10.4243 6.42426C10.6586 6.18995 10.6586 5.81005 10.4243 5.57574C10.1899 5.34142 9.81005 5.34142 9.57574 5.57574L8 7.15147L6.42426 5.57574Z"
+ fill={color}
+ />
+ </svg>
+ );
+ }
+);
CrossCircledFilledIcon.displayName = "CrossCircledFilled";
diff --git a/packages/icons/src/cross-large.tsx b/packages/icons/src/cross-large.tsx
deleted file mode 100644
index e6d38cab1b..0000000000
--- a/packages/icons/src/cross-large.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import * as React from "react";
-import type { IconProps } from "./types";
-
-export const CrossLargeIcon = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 16 16"
- width="16"
- height="16"
- {...props}
- ref={forwardedRef}
- >
- <path
- stroke={color}
- strokeLinecap="round"
- strokeWidth="1.6"
- d="M13 3 7.99998 8.00002m0 0L3 13m4.99998-4.99998L3 3.00008m4.99998 4.99994L13 13"
- />
- </svg>
- );
- }
-);
-CrossLargeIcon.displayName = "CrossLargeIcon";
diff --git a/packages/icons/src/cross-small.tsx b/packages/icons/src/cross-small.tsx
index 0e711aa96f..3e6e15edd9 100644
--- a/packages/icons/src/cross-small.tsx
+++ b/packages/icons/src/cross-small.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const CrossSmallIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const CrossSmallIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/cross.tsx b/packages/icons/src/cross.tsx
index cfde9788fd..75898624f1 100644
--- a/packages/icons/src/cross.tsx
+++ b/packages/icons/src/cross.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const CrossIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const CrossIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/devices.tsx b/packages/icons/src/devices.tsx
deleted file mode 100644
index a3554c13b9..0000000000
--- a/packages/icons/src/devices.tsx
+++ /dev/null
@@ -1,25 +0,0 @@
-import * as React from "react";
-import type { IconProps } from "./types";
-
-export const DevicesIcon = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="15"
- height="15"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- fill={color}
- d="M22.265 9.51L17.265 9.5C16.715 9.5 16.265 9.95 16.265 10.5V19.5C16.265 20.05 16.715 20.5 17.265 20.5H22.265C22.815 20.5 23.265 20.05 23.265 19.5V10.5C23.265 9.95 22.815 9.51 22.265 9.51ZM22.265 19.5H17.265V10.5H19.5H22.265V19.5ZM20.265 1.5H2.26499C1.15499 1.5 0.264988 2.39 0.264988 3.5V15.5C0.264988 16.6 1.15499 17.5 2.26499 17.5H10.5V19.5H7.26499V20.5H15.265V19.5H12.5V17.5H15.265V16.5H1.26499V2.5H21.265V8.5H22.265V3.5C22.265 2.39 21.365 1.5 20.265 1.5Z"
- />
- </svg>
- );
- }
-);
-
-DevicesIcon.displayName = "DevicesIcon";
diff --git a/packages/icons/src/gear.tsx b/packages/icons/src/gear.tsx
index dad86c2621..fca9d72439 100644
--- a/packages/icons/src/gear.tsx
+++ b/packages/icons/src/gear.tsx
@@ -1,13 +1,17 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
const fillVar = "--ws-gear-icon-fill";
-export const gearIconCssVars = ({ fill }: { fill: string }) => ({
+export const gearIconCssVars = ({
+ fill,
+}: {
+ fill: string;
+}): { "--ws-gear-icon-fill": string } => ({
[fillVar]: fill,
});
-export const GearIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const GearIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/index.stories.tsx b/packages/icons/src/index.stories.tsx
index 4370720ae1..414ceaafe6 100644
--- a/packages/icons/src/index.stories.tsx
+++ b/packages/icons/src/index.stories.tsx
@@ -1,6 +1,8 @@
+import type { ReactNode } from "react";
+import type { Meta } from "@storybook/react";
import * as icons from "./index";
-export const Icons = ({ testColor }: { testColor: boolean }) => {
+export const Icons = ({ testColor }: { testColor: boolean }): ReactNode => {
return (
<>
<div
@@ -54,7 +56,7 @@ export const Icons = ({ testColor }: { testColor: boolean }) => {
);
};
-export default {
+const IconsMeta: Meta<typeof Icons> = {
title: "Icons",
component: Icons,
argTypes: {
@@ -64,3 +66,4 @@ export default {
testColor: false,
},
};
+export default IconsMeta;
diff --git a/packages/icons/src/index.ts b/packages/icons/src/index.ts
index f5f88b1928..98d642806f 100644
--- a/packages/icons/src/index.ts
+++ b/packages/icons/src/index.ts
@@ -1,27 +1,15 @@
export * from "./__generated__/components";
-export * from "./undo";
-export * from "./redo";
-export * from "./devices";
export * from "./types";
-export * from "./justify-items-center";
-export * from "./justify-items-end";
-export * from "./justify-items-space-around";
-export * from "./justify-items-space-between";
-export * from "./justify-items-start";
export * from "./trash";
export * from "./size";
export * from "./gear";
export * from "./new-page";
export * from "./new-folder";
-export * from "./chevron-double-up";
-export * from "./chevron-double-down";
export * from "./chevron-double-left";
-export * from "./chevron-double-right";
export * from "./cross-circled-filled";
export * from "./cross";
export * from "./magnifying-glass";
export * from "./cross-small";
-export * from "./cross-large";
export * from "./text-align-center";
export * from "./text-align-justify";
export * from "./text-align-right";
diff --git a/packages/icons/src/justify-items-center.tsx b/packages/icons/src/justify-items-center.tsx
deleted file mode 100644
index 3e2c4268c8..0000000000
--- a/packages/icons/src/justify-items-center.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import * as React from "react";
-import type { IconProps } from "./types";
-
-// @todo this is just a copy of justifyContent icons for now
-export const JustifyItemsCenterIcon = React.forwardRef<
- SVGSVGElement,
- IconProps
->(({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M12.7999 4.79999V19.2H11.1999V4.79999H12.7999ZM16.5999 15.8H14.3999V8.19999H16.5999V15.8ZM7.3999 15.8H9.5999V8.19999H7.3999V15.8Z"
- fill={color}
- />
- </svg>
- );
-});
-JustifyItemsCenterIcon.displayName = "JustifyItemsCenterIcon";
diff --git a/packages/icons/src/justify-items-end.tsx b/packages/icons/src/justify-items-end.tsx
deleted file mode 100644
index 3c789dea73..0000000000
--- a/packages/icons/src/justify-items-end.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import * as React from "react";
-import type { IconProps } from "./types";
-
-// @todo this is just a copy of justifyContent icons for now
-export const JustifyItemsEndIcon = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- d="M12 16.8H15.2V19.2H16.8V4.79999H15.2V7.19999H12V16.8Z"
- fill={color}
- />
- <path d="M7.19995 16.8H10.4V7.19999H7.19995V16.8Z" fill={color} />
- </svg>
- );
- }
-);
-JustifyItemsEndIcon.displayName = "JustifyItemsEndIcon";
diff --git a/packages/icons/src/justify-items-space-around.tsx b/packages/icons/src/justify-items-space-around.tsx
deleted file mode 100644
index 7e20e9e74c..0000000000
--- a/packages/icons/src/justify-items-space-around.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import * as React from "react";
-import type { IconProps } from "./types";
-
-// @todo this is just a copy of justifyContent icons for now
-export const JustifyItemsSpaceAroundIcon = React.forwardRef<
- SVGSVGElement,
- IconProps
->(({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path d="M7.9999 19.2V4.79999H6.3999V19.2H7.9999Z" fill={color} />
- <path d="M17.5999 19.2V4.79999H15.9999V19.2H17.5999Z" fill={color} />
- <path d="M15.1999 16.8H12.7999V7.19999H15.1999V16.8Z" fill={color} />
- <path d="M8.7999 16.8H11.1999V7.19999H8.7999V16.8Z" fill={color} />
- </svg>
- );
-});
-JustifyItemsSpaceAroundIcon.displayName = "JustifyItemsSpaceAroundIcon";
diff --git a/packages/icons/src/justify-items-space-between.tsx b/packages/icons/src/justify-items-space-between.tsx
deleted file mode 100644
index 395652ca40..0000000000
--- a/packages/icons/src/justify-items-space-between.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import * as React from "react";
-import type { IconProps } from "./types";
-
-// @todo this is just a copy of justifyContent icons for now
-export const JustifyItemsSpaceBetweenIcon = React.forwardRef<
- SVGSVGElement,
- IconProps
->(({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M11.1999 7.19999H7.9999V4.79999H6.3999V19.2H7.9999V16.8H11.1999V7.19999ZM12.7999 16.8H15.9999V19.2H17.5999V4.79999H15.9999V7.19999H12.7999V16.8Z"
- fill={color}
- />
- </svg>
- );
-});
-JustifyItemsSpaceBetweenIcon.displayName = "JustifyItemsSpaceBetweenIcon";
diff --git a/packages/icons/src/justify-items-start.tsx b/packages/icons/src/justify-items-start.tsx
deleted file mode 100644
index 842a71a268..0000000000
--- a/packages/icons/src/justify-items-start.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import * as React from "react";
-import type { IconProps } from "./types";
-
-// @todo this is just a copy of justifyContent icons for now
-export const JustifyItemsStartIcon = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- d="M10.9999 7.19999H8.79995V4.79999H7.19995V19.2H8.79995V16.8H10.9999V7.19999Z"
- fill={color}
- />
- <path d="M16.8 7.19999H13.6V16.8H16.8V7.19999Z" fill={color} />
- </svg>
- );
- }
-);
-JustifyItemsStartIcon.displayName = "JustifyItemsStartIcon";
diff --git a/packages/icons/src/magnifying-glass.tsx b/packages/icons/src/magnifying-glass.tsx
index c3a76c77cd..184553feb4 100644
--- a/packages/icons/src/magnifying-glass.tsx
+++ b/packages/icons/src/magnifying-glass.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const MagnifyingGlassIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const MagnifyingGlassIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/new-folder.tsx b/packages/icons/src/new-folder.tsx
index a229d5bc67..7f868f8c5d 100644
--- a/packages/icons/src/new-folder.tsx
+++ b/packages/icons/src/new-folder.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const NewFolderIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const NewFolderIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/new-page.tsx b/packages/icons/src/new-page.tsx
index 0d01cd8e34..87d6480c1c 100644
--- a/packages/icons/src/new-page.tsx
+++ b/packages/icons/src/new-page.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const NewPageIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const NewPageIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/redo.tsx b/packages/icons/src/redo.tsx
deleted file mode 100644
index 65207263a3..0000000000
--- a/packages/icons/src/redo.tsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import * as React from "react";
-import type { IconProps } from "./types";
-
-export const RedoIcon = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- xmlns="http://www.w3.org/2000/svg"
- height="15"
- width="15"
- viewBox="0 0 24 24"
- fill={color}
- {...props}
- ref={forwardedRef}
- >
- <path d="M0 0h24v24H0z" fill="none" />
- <path d="M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z" />
- </svg>
- );
- }
-);
-
-RedoIcon.displayName = "RedoIcon";
diff --git a/packages/icons/src/size.tsx b/packages/icons/src/size.tsx
index 3d3161d8a2..8fcc09fc64 100644
--- a/packages/icons/src/size.tsx
+++ b/packages/icons/src/size.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const SizeIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const SizeIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/text-align-center.tsx b/packages/icons/src/text-align-center.tsx
index b0162cff25..1e1ee39dd1 100644
--- a/packages/icons/src/text-align-center.tsx
+++ b/packages/icons/src/text-align-center.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const TextAlignCenterIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const TextAlignCenterIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/text-align-justify.tsx b/packages/icons/src/text-align-justify.tsx
index ff3041ab1d..f4f3fe9ada 100644
--- a/packages/icons/src/text-align-justify.tsx
+++ b/packages/icons/src/text-align-justify.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const TextAlignJustifyIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const TextAlignJustifyIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/text-align-right.tsx b/packages/icons/src/text-align-right.tsx
index cf111c8a0a..c188fcdef1 100644
--- a/packages/icons/src/text-align-right.tsx
+++ b/packages/icons/src/text-align-right.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const TextAlignRightIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const TextAlignRightIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/text-capitalize.tsx b/packages/icons/src/text-capitalize.tsx
index 05a2332735..5dfc9b1222 100644
--- a/packages/icons/src/text-capitalize.tsx
+++ b/packages/icons/src/text-capitalize.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const TextCapitalizeIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const TextCapitalizeIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/text-direction-ltr.tsx b/packages/icons/src/text-direction-ltr.tsx
index ef2e84b9e1..f35b2be20b 100644
--- a/packages/icons/src/text-direction-ltr.tsx
+++ b/packages/icons/src/text-direction-ltr.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const TextDirectionLTRIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const TextDirectionLTRIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/text-direction-rtl.tsx b/packages/icons/src/text-direction-rtl.tsx
index 8b301fb9e7..6b10a7b00c 100644
--- a/packages/icons/src/text-direction-rtl.tsx
+++ b/packages/icons/src/text-direction-rtl.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const TextDirectionRTLIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const TextDirectionRTLIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/text-hyphen.tsx b/packages/icons/src/text-hyphen.tsx
index e45987673b..8ed3328f52 100644
--- a/packages/icons/src/text-hyphen.tsx
+++ b/packages/icons/src/text-hyphen.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const TextHyphenIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const TextHyphenIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/text-lowercase.tsx b/packages/icons/src/text-lowercase.tsx
index c06e83e343..f7056e1901 100644
--- a/packages/icons/src/text-lowercase.tsx
+++ b/packages/icons/src/text-lowercase.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const TextLowercaseIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const TextLowercaseIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/text-strikethrough.tsx b/packages/icons/src/text-strikethrough.tsx
index 8ef9567921..24ca8983fb 100644
--- a/packages/icons/src/text-strikethrough.tsx
+++ b/packages/icons/src/text-strikethrough.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const TextStrikethroughIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const TextStrikethroughIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/text-truncate.tsx b/packages/icons/src/text-truncate.tsx
index 8c4baf8736..c915dd5f3d 100644
--- a/packages/icons/src/text-truncate.tsx
+++ b/packages/icons/src/text-truncate.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const TextTruncateIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const TextTruncateIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/text-underline.tsx b/packages/icons/src/text-underline.tsx
index cb0ba9e777..2203c32011 100644
--- a/packages/icons/src/text-underline.tsx
+++ b/packages/icons/src/text-underline.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const TextUnderlineIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const TextUnderlineIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/text-uppercase.tsx b/packages/icons/src/text-uppercase.tsx
index aabc398f1d..1305826b5a 100644
--- a/packages/icons/src/text-uppercase.tsx
+++ b/packages/icons/src/text-uppercase.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const TextUppercaseIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const TextUppercaseIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/trash.tsx b/packages/icons/src/trash.tsx
index a3b99a1012..5960c92233 100644
--- a/packages/icons/src/trash.tsx
+++ b/packages/icons/src/trash.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
-import type { IconProps } from "./types";
+import type { IconComponent } from "./types";
-export const TrashIcon = React.forwardRef<SVGSVGElement, IconProps>(
+export const TrashIcon: IconComponent = React.forwardRef(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
diff --git a/packages/icons/src/twitter.tsx b/packages/icons/src/twitter.tsx
deleted file mode 100644
index b184877b67..0000000000
--- a/packages/icons/src/twitter.tsx
+++ /dev/null
@@ -1,25 +0,0 @@
-import { forwardRef } from "react";
-import type { IconProps } from "./types";
-
-export const TwitterIcon = forwardRef<SVGSVGElement, IconProps>(
- ({ color = "#fff", size = 16, ...props }, forwardedRef) => {
- return (
- <svg
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 16 16"
- width={size}
- height={size}
- fill={color}
- {...props}
- ref={forwardedRef}
- >
- <path
- fill={color}
- d="M13.566 5.144c.007.123.009.248.009.371 0 3.797-2.89 8.173-8.172 8.173A8.124 8.124 0 0 1 1 12.398a5.765 5.765 0 0 0 4.252-1.188 2.875 2.875 0 0 1-2.683-1.996 2.936 2.936 0 0 0 1.297-.05 2.875 2.875 0 0 1-2.304-2.817v-.035c.388.215.831.344 1.301.36a2.872 2.872 0 0 1-.888-3.836 8.153 8.153 0 0 0 5.92 3.002 2.87 2.87 0 0 1 2.798-3.526c.826 0 1.572.347 2.097.906a5.785 5.785 0 0 0 1.824-.697A2.883 2.883 0 0 1 13.35 4.11 5.746 5.746 0 0 0 15 3.658a5.8 5.8 0 0 1-1.434 1.486Z"
- />
- </svg>
- );
- }
-);
-
-TwitterIcon.displayName = "TwitterIcon";
diff --git a/packages/icons/src/undo.tsx b/packages/icons/src/undo.tsx
deleted file mode 100644
index a8d5f6a709..0000000000
--- a/packages/icons/src/undo.tsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import * as React from "react";
-import type { IconProps } from "./types";
-
-export const UndoIcon = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- xmlns="http://www.w3.org/2000/svg"
- height="15"
- width="15"
- viewBox="0 0 24 24"
- fill={color}
- {...props}
- ref={forwardedRef}
- >
- <path d="M0 0h24v24H0z" fill="none" />
- <path d="M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z" />
- </svg>
- );
- }
-);
-
-UndoIcon.displayName = "UndoIcon";
diff --git a/packages/icons/tsconfig.json b/packages/icons/tsconfig.json
index d2e5040f8f..9648eaf0a1 100644
--- a/packages/icons/tsconfig.json
+++ b/packages/icons/tsconfig.json
@@ -1,3 +1,6 @@
{
- "extends": "@webstudio-is/tsconfig/base.json"
+ "extends": "@webstudio-is/tsconfig/base.json",
+ "compilerOptions": {
+ "isolatedDeclarations": true
+ }
}