Did any of you breastfeed while on antidepressants or anti-anxiety medication?

I have since had another baby since my August 18 baby. I have dealt with anxiety and depression since I was a child and have largely not treated it. It has gotten worse this year but I just had a daughter in July and am breastfeeding her. I’m just curious to see if anyone breastfed their babies while on antidepressants or anti-anxiety medications. I don’t want to stop breastfeeding, but I do feel like I am at the point I should seek treatment. I’m just torn on what to do.