From the above description it seems that your daughter has a Chalazion
in the lid. Generally a chalazion has to be drained out surgically, although in very few cases intralesional steroid
injection may help. In the meantime, start her on antibiotic eye drop
, 4 times a day) and hot compresses.