Made chat button

This commit is contained in:
Lucas Oliveira 2024-02-22 13:08:28 +01:00
commit b0a2d625af

View file

@ -183,27 +183,32 @@ export default function IOView({ children, open, setOpen }): JSX.Element {
> >
<div className="file-component-tab-column"> <div className="file-component-tab-column">
<div className=""> <div className="">
{node && {node &&
(categories[selectedCategory].name === "Inputs" ? ( (categories[selectedCategory].name === "Inputs" ? (
<IOInputField <IOInputField
inputType={input.type} inputType={input.type}
inputId={input.id} inputId={input.id}
/> />
) : ( ) : (
<IOOutputView <IOOutputView
outputType={input.type} outputType={input.type}
outputId={input.id} outputId={input.id}
/> />
))} ))}
</div> </div>
</div> </div>
</AccordionComponent> </AccordionComponent>
</div> </div>
); );
})} })}
</div> </div>
{handleSelectChange() && handleSelectChange()} {handleSelectChange() ? (
handleSelectChange()
) : (
<div className="absolute bottom-8 right-8">
<Button className="px-3"><IconComponent name="Play" className="h-6 w-6"/></Button>
</div>
)}
</div> </div>
</BaseModal.Content> </BaseModal.Content>
</BaseModal> </BaseModal>