Since children must face dogs in their lives fairly routinely and thankfully not large snakes

or silverback gorillas

, it would be good for her sake if she were desensitized to a dog slowly & over time in order to make her life easier. Think back how often you came in contact with others' dogs when you were a child & growing up. It would be a dreadful liability in being able to lead a normal child's life to fear dogs. With parents' permission, I would discuss with her that we were going to help her learn to "speak dog" and explain to her what you would like to do to help her come to know how to talk to dogs! It should interest her a bit then tell her how you want to do it so she will feel safe. Of course all you really will be doing is teaching her how not to fear one over time & the dog will do the rest as her fears quieten.
Then I would do the following after explaining to her about how she was going to learn this new game:
If you or someone could put a quiet, composed dog in an airline carrier or crate, cover it and let her sit in the room for a while then leave, repeat until she is feeling less stressed, then eventually over time working her up to letting her sit near the uncovered carrier, and then ideally working up to momentarily opening the door and on and on slowly over time exposing her in a safe manner to the thing she fears, she maybe could come to accept being in the room with a dog. Eventually, as her fear begins to seem less overwhelming, she might be able to hold out treats for the dog to take from her - then even petting it and so on. As dogs are so much a part of today's social order, an inordinate fear of them is certainly going to cost this child a lot of anguish if she can't overcome it. And as we know, terrible fears if allowed to rule a child, can lead to other problems.
If her fear is of the phobic nature, a child behaviorist or psychologist or psychiatrist will be required to help her if she & her parents want to help her deal with her dog phobia.