Welcome to Healthcare Magic.
respules and syrup both have the content Salbutamol
which is a bronchodilator
which opens up the airways used in case of asthma
or allergies and other respiratory illnesses accompanied with breathing difficulty. It can have some side effects like tremors , fast heart beats or palpitations commonly.But these are not dangerous and subside after stopping medication.
Your daughter won't have any danger as she had taken small quantity of the medication and most of it wil be inactivated in her stomach.
But you should consult a chest physician or paediatrician for her recurrent cough
as it could be minor form of asthma and the doctor can guide you in prevention and appropriate treatment of the same.