File size: 345 Bytes
0d8f49d
 
d5f09ce
 
 
3fa2d80
1270bff
d5f09ce
 
 
 
0d8f49d
1
2
3
4
5
6
7
8
9
10
11
12
13
import LynxKiteNode from "./LynxKiteNode";
import { NodeWithParams } from "./NodeWithParams";

const NodeWithImage = (props: any) => {
  return (
    <NodeWithParams collapsed {...props}>
      {props.data.display && <img src={props.data.display} alt="Node Display" />}
    </NodeWithParams>
  );
};

export default LynxKiteNode(NodeWithImage);