mirror of
https://github.com/ianarawjo/ChainForge.git
synced 2025-03-14 16:26:45 +00:00
icon for script node
This commit is contained in:
parent
486e02b56d
commit
bf46aee84c
@ -1,6 +1,7 @@
|
||||
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
||||
import useStore from './store';
|
||||
import NodeLabel from './NodeLabelComponent'
|
||||
import NodeLabel from './NodeLabelComponent';
|
||||
import { IconSettingsAutomation } from '@tabler/icons-react';
|
||||
|
||||
|
||||
const ScriptNode = ({ data, id }) => {
|
||||
@ -65,7 +66,7 @@ const ScriptNode = ({ data, id }) => {
|
||||
return (
|
||||
<div className="script-node">
|
||||
<div className="node-header">
|
||||
<NodeLabel title={data.title || 'Global Scripts'} nodeId={id} />
|
||||
<NodeLabel title={data.title || 'Global Scripts'} nodeId={id} icon={<IconSettingsAutomation size="16px" />}/>
|
||||
</div>
|
||||
<label htmlFor="num-generations" style={{fontSize: '10pt'}}>Enter folder paths for external modules you wish to import.</label> <br/><br/>
|
||||
<div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user