Rock n play to sleep in

Jordan • 29, Cosmetologist. Married. Isaac Wayne born 9/28 7lbs 2oz - 19 1/4inches long! 😍❤️😍
I received a rock n play and it says on the box that the baby can sleep in it up for 6 hours. But I've read that these sleepers are not good for long sleeps and can cause SIDS. What is everyone's thought on this?