Your kid is having a gut infection- which mostly might be due to a virus.
Main problem seen in these gut infections is dehydration
You must ensure that she drinks well.
Try to give her water, ORS
, vegetable soups, curd, rice based food, soya millk etc.
Give them in frequent small portions.
Avoid fruit juices/ formula milk/ cow`s milk.
she might need medications like Domperidone
or Ondensetron in right dosage according to her weight.
She must wet her diapers atleast 4 to 5 times in a day.
If there is no improvement and she continues to refuse feeds and continues to have less wet diapers, its better you see your Pediatrician
at the earliest.
If dehydration is severe, then she might need to be hospitalized.
Hope I have answered your query.
Wish your daughter a speedy recovery.