Antidepressants during pregnancy

For the people who took antidepressants during pregnancy, did your baby have withdrawal symptoms?

I was on effexor before i got pregnant and it helped a lot but i had to switch to lexapro during my pregnancy, i’m on 10 mg and it doesn’t seem to be helping much at this dosage. I want to up the dosage but my OB said if i go any higher it’s possible the baby will have withdrawals and we’d have a longer hospital stay 😅

Just wondering if anyone else went through this or any advice. Also any experiences of babies having withdrawals and what that entailed...

Thanks!