Changed icons for other options that are not global variable
This commit is contained in:
parent
1b6102524a
commit
6dc4599a9b
3 changed files with 4 additions and 1 deletions
|
|
@ -549,6 +549,7 @@ export default function ParameterComponent({
|
|||
value={data.node?.template[name].value ?? ""}
|
||||
options={globalVariablesEntries}
|
||||
optionsPlaceholder={"Global Variables"}
|
||||
optionsIcon="Globe"
|
||||
optionsButton={
|
||||
<AddNewVariableButton>
|
||||
<CommandItem value={"new"}>
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ export default function InputComponent({
|
|||
className,
|
||||
id = "",
|
||||
blurOnEnter = false,
|
||||
optionsIcon = "ChevronsUpDown",
|
||||
selectedOption,
|
||||
setSelectedOption,
|
||||
options = [],
|
||||
|
|
@ -208,7 +209,7 @@ export default function InputComponent({
|
|||
)}
|
||||
>
|
||||
<ForwardedIconComponent
|
||||
name="Globe"
|
||||
name={optionsIcon}
|
||||
className={"h-4 w-4"}
|
||||
aria-hidden="true"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ export type InputComponentType = {
|
|||
className?: string;
|
||||
id?: string;
|
||||
blurOnEnter?: boolean;
|
||||
optionsIcon?: string;
|
||||
optionsPlaceholder?: string;
|
||||
options?: string[];
|
||||
optionsButton?: ReactElement;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue