acbd5a5f18
* added mock for admin client so stories work again * updated storybook to 6.1.7 * added js doc * fix merge error
20 lines
454 B
TypeScript
20 lines
454 B
TypeScript
import React from "react";
|
|
import { Meta } from "@storybook/react";
|
|
import { Page } from "@patternfly/react-core";
|
|
import { NewRealmForm } from "../realm/add/NewRealmForm";
|
|
import { MockAdminClient } from "./MockAdminClient";
|
|
|
|
export default {
|
|
title: "New realm form",
|
|
component: NewRealmForm,
|
|
} as Meta;
|
|
|
|
export const view = () => {
|
|
return (
|
|
<Page>
|
|
<MockAdminClient>
|
|
<NewRealmForm />
|
|
</MockAdminClient>
|
|
</Page>
|
|
);
|
|
};
|