My dog likes kids. I babysit a little girl (3 years old) a couple of afternoons a week. Mostly she naps while at my house. Copper likes her, but I have to watch. Yorkies aren't solid feeling like some of the other breeds. They feel delicate and are. The safety of the dog is the problem. I watch very carefully when the little girl is here. Copper enjoys running in the yard with her but I constantly supervise.
Good luck with your decision.