Baby gaining weight

So my baby was 7lb 3oz at birth, and was 7lb 15oz at 2 weeks. We went to the one month appointment and she was 10lb 10oz! The doctor said I could be over feeding, but I am feeding exclusively breast milk. I pump and then feed her a bottle.

It’s hard to withhold when the baby is hungry, i am trying to let her cry a bit more for exercise before feeding her and am taking the bottle out when I think she is done instead of trying to get her to finish the bottle.

Does anyone have any experience with this and suggestions. I don’t want to overfeed my newborn.

Thanks!