import React from "react" ; import { Spinner } from "react-bootstrap" ; const ButtonSpinner = ( ) => ( < Spinner as = "span" animation = "border" size = "sm" role = "status" aria - hidden = "true" className = "mr-1" / > ) ; export { ButtonSpinner } ;