Oddmash UI
すべてのコンポーネント

EmptyState

内容が空である理由を説明します。

使い方

何がないかを示し、可能な次の操作を一つ案内します。

アクセシビリティ

適切な見出し階層と具体的な操作名を使います。

プロパティ型既定値
childrenReactNodeNone
<EmptyState>
  <strong>No events captured</strong>
  <p>Interact with the page to start filling the timeline.</p>
  <Button variant="secondary" onClick={() => location.hash = '/interaction-pattern'}>
    Open Interaction Lab
  </Button>
</EmptyState>

インタラクティブなドキュメント