Files
solana/explorer/src/components/common/LoadingCard.tsx
2020-08-08 14:45:57 +08:00

13 lines
307 B
TypeScript

import React from "react";
export function LoadingCard({ message }: { message?: string }) {
return (
<div className="card">
<div className="card-body text-center">
<span className="spinner-grow spinner-grow-sm mr-2"></span>
{message || "Loading"}
</div>
</div>
);
}