import React from "react"; import type { Meta, StoryObj } from "@storybook/react"; import { createKcPageStory } from "../KcPageStory"; const { KcPageStory } = createKcPageStory({ pageId: "sessions.ftl" }); const meta = { title: "account/sessions.ftl", component: KcPageStory } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { render: () => ( ) }; export const WithError: Story = { render: () => ( ) }; /** * No active sessions scenario: * - Simulates the scenario where no sessions are active for the user. */ export const NoActiveSessions: Story = { render: () => ( ) }; /** * Single session scenario: * - Displays only one active session with session details. */ export const SingleSession: Story = { render: () => ( ) }; /** * Multiple clients per session scenario: * - Displays sessions where each session has multiple associated clients. */ export const MultipleClientsSession: Story = { render: () => ( ) }; /** * Session without client details scenario: * - Simulates a session where no client information is provided. */ export const SessionWithoutClients: Story = { render: () => ( ) };