keycloak-scim/src/stories/JsonFileUpload.stories.tsx
2020-09-08 13:16:08 -04:00

22 lines
502 B
TypeScript

import React from "react";
import { Meta, Story } from "@storybook/react";
import {
JsonFileUpload,
JsonFileUploadProps,
} from "../components/json-file-upload/JsonFileUpload";
export default {
title: "Json file upload dailog",
component: JsonFileUpload,
parameters: { actions: { argTypesRegex: "^on.*" } },
} as Meta;
const Template: Story<JsonFileUploadProps> = (args) => (
<JsonFileUpload {...args} />
);
export const Dialog = Template.bind({});
Dialog.args = {
id: "jsonFile",
};