Meghan McCain, television co-host and daughter of Sen. John McCain, R-Ariz., gave a stinging response Friday to a White House official who reportedly said at a staff meeting that his opposition to a Trump administration nominee "doesn't matter" because "he's dying anyway."

"I don't understand what kind of environment you're working in when that would be acceptable and then you could come to work the next day and still have a job," McCain said on "The View" Friday.

Meghan The View

The White House did not immediately respond to CNBC's request for comment.

The official, Kelly Sadler, made the comment while discussing McCain's opposition to Trump's pick for CIA director, Gina Haspel, according to two people who spoke to the Associated Press on condition of anonymity.

The two people who attended the closed-door meeting told the AP they felt shocked and stunned by the remark.

In a statement, White House did not dispute that Sadler made the comment at the meeting.

"We respect Senator McCain's service to our nation and he and his family are in our prayers during this difficult time," said the White House's statement.

The Hill newspaper first reported Sadler's comment.