Breastfeeding on klonopin thoughts?

Hey y’all I want to breast feed my baby. But im taking klonopin every once and a while for panic attacks and anxiety. Has anyone breastfeed while taking klonopin and did it hurt the baby? Or should I pump and dump if I have to take it? I know if you drink you should pump and dump but idk how that works with medication. Any advice is greatly appreciated. Tia. ❤️