You may have heard the news that the 45th President of the United States has been chosen, and, much to the surprise of Silicon Valley, it wasn't Hillary Clinton. Other than well-known Trump supporter Peter Thiel, the response from the biggest names in tech has ranged from stunned acceptance to abject horror.

Thiel, who donated $1.25 million to Trump's campaign last month, was quick to congratulate the new President, but warned that a difficult time was ahead of him. "[Trump] has an awesomely difficult task, since it is long past time for us to face up to our country's problems. We're going to need all hands on deck," said the PayPal co-founder.

Thiel's is a lone voice in an industry that donated almost $8 million to Hillary Clinton's campaign. Trump received around $1.6 million from those in the technology sector, with Thiel's donation making up the vast majority of that sum.

The rest of tech world hasn't welcomed the news of a Trump presidency. Iranian-American entrepreneur Shervin Pishevar has said he will help the state of California - the sixth largest economy in the world - secede from the US and become its own nation. His plan was backed by fellow Angel investor Dave Morin.

Elsewhere, investor Adam Singer said the "Party is prob over for Silicon Valley for now Trump presidency means recession time." While entrepreneur Bijan Sabet tweeted that he was worried about what to tell his children.

Others, however, have admitted that they are willing to accept Trump. Even Mark Cuban, an outspoken supporter of Hillary Clinton, said everyone must give the President-Elect a chance.

Stock markets across the world fell on news of a Trump victory. The Dow Jones index is expected to lose 2 percent - about 400 points - when it reopens, though it had been predicted to drop by 4 percent. The BBC notes, however, that neither markets nor currencies have swung as wildly as they did after the UK vote to leave Europe back in June.

It seems that Bitcoin owners may be pleased with Trump's win. The cryptocurrency closed up 3.5 percent as the final election results came in.