Try this:
    
    
    const shapes = [
      Circle:Shape(kind:Circle,r:10).buildCircleProps,
      Rectangle:Shape(kind:Rectangle,w:10,h:10).buildRectangleProps,
    ]
    
    
    
    Run

Reply via email to