Component having two leads