LONDON — British Prime Minister Theresa May said Wednesday that it was up to US President Donald Trump to decide what intelligence he shared, after reports he divulged top-secret data to the Russians.

“Decisions about what President Trump discusses with anybody that he has in the White House is a matter for President Trump,” May told a press conference in London.

“We continue to work with the United States and we continue to share intelligence with the United States, as we do with others around the world.”

She said the British relationship with the US “is the most important defense and security relationship that we have around the world.”

“We have confidence in that relationship between us and the United States, that it helps to keep us all safer.”

US President Donald Trump stands with British Prime Minister Theresa May next to a bust of former British prime minister Winston Churchill on Friday, Jan. 27, 2017, in the Oval Office of the White House in Washington. (AP Photo/Pablo Martinez Monsivais)

US President Donald Trump stands with British Prime Minister Theresa May next to a bust of former British prime minister Winston Churchill on Friday, Jan. 27, 2017, in the Oval Office of the White House in Washington. (AP Photo/Pablo Martinez Monsivais)

US media reports allege Trump passed ultra-sensitive classified information about the Islamic State terror group — said to be gleaned by Israel — to Russian diplomats during a meeting in the Oval Office.

The Washington Post said he described details about a plot involving laptop computers on airplanes, revealing where the information was gathered.

“We are all working together to deal with the threats that we face, the key threat of course being the threat of terrorism,” both from IS and al-Qaeda, May said.

“Working with the United States and others to deal with that terrorist threat is an important part of maintaining our national security and we will continue to do so.”