President Trump attempted to extend an olive branch to Democrats in the midst of a growing feud between Trump and House Speaker Nancy Pelosi.

"I can work with the speaker, sure," he told reporters gathered on the South Lawn of the White House Friday. "I can work with the speaker. I can absolutely work" with her.

Trump said Democrats would have to move past their anger over the conclusion of the Mueller investigation, however, before they could work together on bipartisan legislation for issues such as infrastructure and prescription drug costs.

"They were very unhappy with the Mueller report," Trump said. "No collusion. No obstruction. No nothing. They're very unhappy about it. They have to get over their anger."

Trump and Pelosi have been exchanging barbs since Wednesday, when Pelosi accused the president of engaging in a cover-up and Trump responded by abruptly leaving an infrastructure meeting with top Democrats.

The president said then he was not willing to work on infrastructure with Democrats until they dropped their investigations.

"I walked into the room and I told Sen. Schumer, Speaker Pelosi, 'I want to do infrastructure. I want to do it more than you want to do it. I would be really good at that. That's what I do. But you know what? You can't do it under these circumstances. So get these phony investigations over with,'" he said during a press conference following the failed meeting.