File size: 274 Bytes
d1d859f
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
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;