Antibiotics while pregnant

So of course I get pink eye for the first time in my life while I'm pregnant. They prescribed me gentamicin eye drops which instantly had me concerned. I texted my OB and she said they were fine to take.... BUT everything I look up says otherwise. I can't help but worry. I wish I wasn't such a worry wart sometimes! :(