bfa0c6e1ea
* initial version of the advanced tab * added registered nodes * added fine grain open id connect configuration * added open id connect compatibility section * added advanced section * added backend * fixed type * renamed 'advanced' to advancedtab to prevent strange add of '/index.js' by snowpack * fixed storybook stories * change '_' to '-' because '_' is also used * fix spacing buttons * stop passing the form * cypress test for advanced tab * more tests * saml section * changed to use NumberInput * added authetnication flow override * fixed merge error * updated text and added link to settings tab * fixed test * added filter on flows and better reset * added now mandetory error handler * added sorting * Revert "changed to use NumberInput" This reverts commit 7829f2656ae8fc8ed4a4a6b1c4b1961241a09d8e. * allow users to put empty string as value * already on detail page after save * fixed merge error
18 lines
512 B
TypeScript
18 lines
512 B
TypeScript
import React from "react";
|
|
import { Meta } from "@storybook/react";
|
|
import { MockAdminClient } from "./MockAdminClient";
|
|
import rolesMock from "../realm-roles/__tests__/mock-roles.json";
|
|
import { RealmRoleTabs } from "../realm-roles/RealmRoleTabs";
|
|
|
|
export default {
|
|
title: "Roles tabs",
|
|
component: RealmRoleTabs,
|
|
} as Meta;
|
|
|
|
export const RolesTabsExample = () => {
|
|
return (
|
|
<MockAdminClient mock={{ roles: { findOneById: () => rolesMock[0] } }}>
|
|
<RealmRoleTabs />
|
|
</MockAdminClient>
|
|
);
|
|
};
|