The whites of the eye and the inside of the lids are covered by
mucous membrane, which is susceptible to the virus. I would not worry too much about it, however, especially if her eyelid was closed. Ocular herpes are thought by experts to be usually caused by a recurrence of an old oral infection, not an outside infection.
However, it will be helpful to avoid kissing her on her mouth, eyes, nose, ears, anywhere that might have a mucous membrane.