context
This commit is contained in:
@@ -426,6 +426,7 @@ export default function App() {
|
|||||||
<Sparkles className="mr-2 h-4 w-4" />
|
<Sparkles className="mr-2 h-4 w-4" />
|
||||||
Renderer
|
Renderer
|
||||||
</ContextMenuItem>
|
</ContextMenuItem>
|
||||||
|
<ContextMenuSeparator></ContextMenuSeparator>
|
||||||
<ContextMenuItem onSelect={() => createNode('variable')}>
|
<ContextMenuItem onSelect={() => createNode('variable')}>
|
||||||
<Variable className="mr-2 h-4 w-4" />
|
<Variable className="mr-2 h-4 w-4" />
|
||||||
Variable
|
Variable
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ export const FunctionNode = memo(function FunctionNode({ id, data, width, height
|
|||||||
|
|
||||||
<BaseNodeFooter>
|
<BaseNodeFooter>
|
||||||
<NodeFooterEdgeIndicators nodeId={id} nodeType="function">
|
<NodeFooterEdgeIndicators nodeId={id} nodeType="function">
|
||||||
{bodyValue ? `${bodyValue.length} chars` : 'none'}
|
{bodyValue ? `Javascript | ${bodyValue.length} chars` : 'none'}
|
||||||
</NodeFooterEdgeIndicators>
|
</NodeFooterEdgeIndicators>
|
||||||
</BaseNodeFooter>
|
</BaseNodeFooter>
|
||||||
</BaseNode>
|
</BaseNode>
|
||||||
|
|||||||
Reference in New Issue
Block a user