<script lang="ts">
  export type AISessionCard = {
    id: number;
    title: string;
    updatedAt: string;
  };

  export let sessions: AISessionCard[] = [];
</script>

<section aria-label="AI 会话" class="ai-session-grid">
  {#each sessions as session}
    <button class="ai-session-card" type="button">
      <strong>{session.title}</strong>
      <span>{session.updatedAt}</span>
    </button>
  {/each}
</section>
