You may want to wait for others to chime in. Please keep in mind that my boy Max, the one you see in the photo is 13 pounds. He's in a large ex-pen which is probably much more than you need, depending on your yorkie's size. It's super easy to clean inside, in case of an accident. It also has a zipper top in case your little one is a climber. There is no escape.
Here is the large:
Amazon.com: Orange Pet Dog Tent Puppy Playpen... If you are familiar with Amazon, you can also view the other items that were viewed that are similar to the one I posted. There are many different colors and sizes.