Yellow crusty eyes in newborn

lexi • 19 & starting college to be a RN in September Olivia Elizabeth Llewellyn 💕

My 10 day old has yellowish discharge that almost glues her eyes shut. I’ve been taking a wet cotton ball to wipe them off but I’m worried it might be an infection? Has anyone else experienced this?