pepto-bismol and breastfeeding

Britany
Can pepto bismol be taken while breastfeeding? It says ask your doctor. Has anyone taken this and know it's ok to take?