South Carolina Gov. Nikki Haley has accepted Donald Trump's offer to be his ambassador to the United Nations.