President Trump is weighing whether to support legislation banning hardware that can convert semi-automatic weapons into machine guns, White House press secretary Sarah Sanders said on Thursday.

"We know that members of both parties and multiple organizations are planning to take a look at 'bump stocks' and related devices," Sanders told reporters at the White House.

Republican congressional leaders have called for a review of the dangers posed by "bump stocks," a piece of hardware police say the shooter in a massive attack on Las Vegas this week used to turn his gun into an automatic weapon.

Democrats have introduced legislation to outlaw bump stocks. The National Rifle Association, a staunchly pro-gun group, has asked the government to review devices like bump stocks.

"We want to be part of that discussion," Sanders said. "We're certainly open to that moving forward."

Sanders clarified Trump's commitment to gun rights has not wavered in the face of the largest shooting in modern U.S. history, which claimed 58 lives and injured more than 500 people at a country music festival on Sunday evening.

"The president is a strong supporter of the Second Amendment. That hasn't changed," Sanders said.

The White House press secretary cautioned against leaping to conclusions about what kinds of policies would have stopped the Las Vegas shooter from amassing the weapons he used to execute his attack. Some Democrats have called for stronger gun control measures across the board in the wake of the shooting.

"At this point in the process, I think we all need to take a step back," Sanders said. "Before we can run out and start talking about the preventions...we have to determine what caused it. We haven't gotten that far down the road."