The color of the discharge can provide important information about the cause of the eye swelling. Clear or whitish discharge typically indicates a viral or allergic cause, while yellowish discharge may suggest a bacterial infection. It is important to seek medical advice to determine the appropriate treatment for your child's condition. Prompt recovery is wished for your child. Do not hesitate to provide updates on the situation if desired.