Ms Griffith said voters had switched to Labour during the election campaign itself.

"People have a real sense of community in Wales," she said.

"They like Labour ideas like looking after public services and I think people came together, they saw what Theresa May was offering, which was very empty - I can't really call it a manifesto - and they saw her arrogance and almost disdain for people, and they really did not like that.

"What was interesting was the number of people who made up their minds during the campaign; we saw things swinging at the very last minute."

Last June, Ms Griffith joined a Labour rebellion against Mr Corbyn following the referendum vote for Brexit, resigning as shadow Welsh secretary in protest at what party critics claimed was his half-hearted campaign in favour of remaining in the European Union.