Any dog is capable of injuring a small child. We have never left our Fox Terrier alone with children unsupervised. Risk includes impact and likelihood. You may well have a placid, child-friendly, wouldn’t-hurt-a-fly, soft, cuddly Pit Bull Terrier that your children can drag by the tail around the garden. But it only takes one bad-dog day and you’ve a dead or seriously injured child. The smaller the dog the lower the impact (although still not worth the risk).
People tend to anthropomorphise dogs, especially those who have a dog as a pet rather than a working dog. Best to just bear in mind that they eat and roll in any sort of poo or decomposed dead creature, sniff each other’s rear ends and lick their own genitals!