From 703f02151e0571c5f16a7ed84f4c91e28ee39240 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Fri, 30 Aug 2024 12:56:34 -0300 Subject: [PATCH] Added Unstructured icon --- .../src/icons/Unstructured/Unstructured.jsx | 66 +++++++++++++++++++ .../src/icons/Unstructured/Unstructured.svg | 22 +++++++ src/frontend/src/icons/Unstructured/index.tsx | 9 +++ src/frontend/src/utils/styleUtils.ts | 2 + 4 files changed, 99 insertions(+) create mode 100644 src/frontend/src/icons/Unstructured/Unstructured.jsx create mode 100644 src/frontend/src/icons/Unstructured/Unstructured.svg create mode 100644 src/frontend/src/icons/Unstructured/index.tsx diff --git a/src/frontend/src/icons/Unstructured/Unstructured.jsx b/src/frontend/src/icons/Unstructured/Unstructured.jsx new file mode 100644 index 000000000000..eb509e488958 --- /dev/null +++ b/src/frontend/src/icons/Unstructured/Unstructured.jsx @@ -0,0 +1,66 @@ +const SvgGoogleGenerativeAI = (props) => ( + + + + + + + + + + + + + + + + + + + + + + +); +export default SvgGoogleGenerativeAI; diff --git a/src/frontend/src/icons/Unstructured/Unstructured.svg b/src/frontend/src/icons/Unstructured/Unstructured.svg new file mode 100644 index 000000000000..bd55efb56d49 --- /dev/null +++ b/src/frontend/src/icons/Unstructured/Unstructured.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/frontend/src/icons/Unstructured/index.tsx b/src/frontend/src/icons/Unstructured/index.tsx new file mode 100644 index 000000000000..f9e434a9051e --- /dev/null +++ b/src/frontend/src/icons/Unstructured/index.tsx @@ -0,0 +1,9 @@ +import React, { forwardRef } from "react"; +import SvgUnstructured from "./Unstructured"; + +export const UnstructuredIcon = forwardRef< + SVGSVGElement, + React.PropsWithChildren<{}> +>((props, ref) => { + return ; +}); diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts index d51143d2057b..c554b59ac5a3 100644 --- a/src/frontend/src/utils/styleUtils.ts +++ b/src/frontend/src/utils/styleUtils.ts @@ -1,5 +1,6 @@ import { AIMLIcon } from "@/icons/AIML"; import Perplexity from "@/icons/Perplexity/Perplexity"; +import { UnstructuredIcon } from "@/icons/Unstructured"; import { AthenaIcon } from "@/icons/athena/index"; import { freezeAllIcon } from "@/icons/freezeAll"; import { @@ -393,6 +394,7 @@ export const nodeIconsLucide: iconsType = { GoogleGenerativeAI: GoogleGenerativeAIIcon, Groq: GroqIcon, HNLoader: HackerNewsIcon, + Unstructured: UnstructuredIcon, HuggingFaceHub: HuggingFaceIcon, HuggingFace: HuggingFaceIcon, HuggingFaceEmbeddings: HuggingFaceIcon,