LoadingIndicator
LoadingIndicatorコンポーネントは、インジケーターを表示するためのコンポーネントです。
基本的な使い方
import { Card, LoadingIndicator } from "@basemachina/view";
const App = () => {
return (
<Card>
<LoadingIndicator type="spin" color="#6366f1" />
</Card>
);
};
export default App;
詳細なインターフェース
| 名前 | 説明 | デフォルト値 |
|---|---|---|
| type | インジケーターの種類を指定します。blank, balls, bars, bubbles, cubes, cylon, spin, spinningBubbles, spokesのいずれかを指定できます。 | spin |
| color | インジケーターの色を指定します。カラーコードで指定できます。 | #6366f1 |