Has anyone taken the antibiotic clindamycin while breastfeeding?

Melissa • This is my 3rd pregnancy excited nervous all at the same time . We have a son who’s 8 a daughter who’s 2 and now expecting.
I went today to the dr for an infection I have and she prescribed me clindamycin it's supposed to be stronger then amoxicillin I'm wondering if I should take it or pump and dump before I breastfeed my baby girl I told the dr I was breastfeeding I would figure she wouldn't prescribe me something I can't take while breastfeeding. I googled I know I shouldn't have, but some say they have take. It for mastits . Has anyone tried this? Please