adds user federation kerberos wizard

This commit is contained in:
Sarah Rambacher 2020-11-18 11:18:32 -05:00
parent 84ad3853a8
commit cc2dd3e512
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,17 @@
import React from "react";
import { Meta } from "@storybook/react";
import { Page } from "@patternfly/react-core";
import { UserFederationKerberosWizard } from "../user-federation/UserFederationKerberosWizard";
export default {
title: "User Federation Wizard",
component: UserFederationKerberosWizard,
} as Meta;
export const view = () => {
return (
<Page>
<UserFederationKerberosWizard />
</Page>
);
};

View file

@ -0,0 +1,25 @@
import { Button, Wizard } from "@patternfly/react-core";
import { useTranslation } from "react-i18next";
import React from "react";
import { KerberosSettingsRequired } from "./KerberosSettingsRequired";
import { KerberosSettingsCache } from "./KerberosSettingsCache";
export const UserFederationKerberosWizard = () => {
const { t } = useTranslation("user-federation");
const steps = [
{ name: "Required settings", component: <KerberosSettingsRequired /> },
{ name: "Cache settings", component: <KerberosSettingsCache /> },
];
const title = "Add Kerberos user federation provider";
return (
<Wizard
title={title}
description="Text needed here"
steps={steps}
// onClose={handleModalToggle}
// isOpen={isOpen}
/>
);
};