Question: what do you say to someone who gave birth?
Answer: You can say 'Congratulations' - your friend has, after all, successfully undergone labour and childbirth! Or you could just say something like, 'I'm so happy for you!' You can ask for the child's name and it should be clear whether the baby is a boy or a girl!