Used js destructuring assignment while importing panel and widget.