Xanax while pregnant

I have been on xanax for almost 3 years due to a manic panic disorder has anyone stopped while pregnant or continued during pregnancy and how did it affect the baby if in any way?