File size: 292 Bytes
d460634
c7f22d1
 
 
 
d460634
 
 
c7f22d1
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import NodeWithParams from "./NodeWithParams";

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

export default NodeWithImage;