From 7d2f8536302a36cc3bd80bafe7c580b286bbb0f3 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Fri, 14 Jul 2023 15:18:36 -0300 Subject: [PATCH] added enum type for Icon method --- src/frontend/src/types/components/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/types/components/index.ts b/src/frontend/src/types/components/index.ts index 9acf69714..85a8c4d67 100644 --- a/src/frontend/src/types/components/index.ts +++ b/src/frontend/src/types/components/index.ts @@ -164,9 +164,9 @@ export interface IVarHighlightType { export type IconProps = { name: string; -} +}; export type IconComponentProps = { - method: string; + method: "SVG" | "LUCIDE"; name: string; -} +};