Made categories

This commit is contained in:
Lucas Oliveira 2024-02-22 12:53:15 +01:00
commit 1e3cdd3f32
2 changed files with 15 additions and 1 deletions

View file

@ -126,6 +126,16 @@ export default function IOView({ children, open, setOpen }): JSX.Element {
</button> </button>
)} )}
</div> </div>
<div className="flex font-semibold mt-4 mb-2 mx-2 gap-2 items-center">
{categories[selectedCategory].name === "Inputs" &&
<><IconComponent name={"FormInput"}/>
Text Inputs</>
}
{categories[selectedCategory].name === "Outputs" &&
<><IconComponent name={"ChevronRightSquare"}/>
Prompt Outputs</>
}
</div>
{UpdateAccordion() {UpdateAccordion()
.filter( .filter(
(input) => (input) =>

View file

@ -11,7 +11,7 @@ import {
ChevronDown, ChevronDown,
ChevronLeft, ChevronLeft,
ChevronRight, ChevronRight,
Sliders, ChevronRightSquare,
ChevronUp, ChevronUp,
ChevronsLeft, ChevronsLeft,
ChevronsRight, ChevronsRight,
@ -40,6 +40,7 @@ import {
Fingerprint, Fingerprint,
FlaskConical, FlaskConical,
FolderPlus, FolderPlus,
FormInput,
Forward, Forward,
Gift, Gift,
GitBranchPlus, GitBranchPlus,
@ -88,6 +89,7 @@ import {
Share, Share,
Share2, Share2,
Shield, Shield,
Sliders,
Sparkles, Sparkles,
Square, Square,
Store, Store,
@ -385,6 +387,8 @@ export const nodeIconsLucide: iconsType = {
Square, Square,
Minimize2, Minimize2,
Maximize2, Maximize2,
FormInput,
ChevronRightSquare,
SaveAll, SaveAll,
Forward, Forward,
Share2, Share2,