ビュー
その他
LoadingIndicator

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