2020-09-03 17:26:36 +00:00
|
|
|
import React from "react";
|
|
|
|
import { Meta } from "@storybook/react";
|
|
|
|
import { Page } from "@patternfly/react-core";
|
2020-09-10 18:04:03 +00:00
|
|
|
import { NewRealmForm } from "../realm/add/NewRealmForm";
|
2020-12-04 18:58:28 +00:00
|
|
|
import { MockAdminClient } from "./MockAdminClient";
|
2020-09-03 17:26:36 +00:00
|
|
|
|
|
|
|
export default {
|
2020-09-18 08:04:55 +00:00
|
|
|
title: "New realm form",
|
2020-09-03 17:26:36 +00:00
|
|
|
component: NewRealmForm,
|
|
|
|
} as Meta;
|
|
|
|
|
|
|
|
export const view = () => {
|
|
|
|
return (
|
|
|
|
<Page>
|
2020-12-04 18:58:28 +00:00
|
|
|
<MockAdminClient>
|
|
|
|
<NewRealmForm />
|
|
|
|
</MockAdminClient>
|
2020-09-03 17:26:36 +00:00
|
|
|
</Page>
|
|
|
|
);
|
|
|
|
};
|