The toxic component of chocolate is theobromine.
A small amount of chocolate will probably only give your dog an upset stomach with vomiting or diarrhea.
With large amounts, theobromine can produce muscle tremors, seizures, an irregular heartbeat, internal bleeding or a heart attack.