feat: update to zeusina keycloak
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
import type { Meta, StoryObj } from "@storybook/react";
|
||||
import { createKcPageStory } from "../KcPageStory";
|
||||
|
||||
const { KcPageStory } = createKcPageStory({ pageId: "qr-login-verify.ftl" });
|
||||
|
||||
const meta = {
|
||||
title: "login/qr-login-verify.ftl",
|
||||
component: KcPageStory
|
||||
} satisfies Meta<typeof KcPageStory>;
|
||||
|
||||
export default meta;
|
||||
|
||||
type Story = StoryObj<typeof meta>;
|
||||
|
||||
export const Default: Story = {
|
||||
render: () => (
|
||||
<KcPageStory
|
||||
kcContext={{
|
||||
ua_device: "Desktop",
|
||||
ua_os: "macOS",
|
||||
ua_agent: "Chrome",
|
||||
local_localized: "English",
|
||||
tabId: "GvAAhBUeVqw",
|
||||
approveURL: "#approve",
|
||||
rejectURL: "#reject"
|
||||
}}
|
||||
/>
|
||||
)
|
||||
};
|
||||
Reference in New Issue
Block a user