Connectionism is both a computational and cognitive theory.
Connectionism is a computational theory in the sense that it is a method for doing for performing computations via a connection of weighted nodes.
Connectionism is a cognitive theory in the sense that it is one of the architechtures proposed for computational theories of cognitive science.