Robert,
I might have badly communicated so this is what i actually did , you say I am using a WAB widget and that it could only be to an WAB app and thats what i did.
so this is my widget file in the WAB
this is my WAB
here is my widget on the WAB i can see and add it
here is the problem i think it doesn't work because of my code and i am not sure how to display all those files so i made the code pen i am not expecting the codepen to work
If i am wrong about this sorry i wasted so much of your time I am trying.