Glb viewer add in my project with drag and drop functionality

Hi I need some help related to add the glb viewer in my PLayCanvas project .I just want to add the drag and drop functionality to load the glb model in my scene. Can you share me example .As I have seen there is gltf viewer example but those scripts were developed with typescript and I’m not familiar with them. If its possible can you share me example with PLayCanvas project .That would be helpful for me thanks

PLayCanvas Gltf Link: Model Viewer

As I’m trying to do this but its not working .Showing me some deprecated messages in console

Your help would be highly appreciated for me thanks