keycloak-scim/src/stories/RealmForm.stories.tsx
Erik Jan de Wit acbd5a5f18
created a MockAdminClient for the storybook (#240)
* added mock for admin client so stories work again

* updated storybook to 6.1.7

* added js doc

* fix merge error
2020-12-04 13:58:28 -05:00

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>
);
};