Thanks for writing your query.
Skin of the scalp
area is such that any head injury
can result in swelling and briuse.
Injury near eye can result in swelling extending towards eye and can result in black eye.
It takes few days to weeks for full recovery and should be a cause of worry if there is no neurological or vision deficit. But you should still get her examined by a Neurophysician and Ophthalmologist.
I hope this is helpful to you.