Storybook POC

This commit is contained in:
Steve Faulkner
2021-03-03 22:27:41 -06:00
parent 7188e8d8c2
commit 1079b56c89
24 changed files with 9281 additions and 41 deletions

View File

@@ -0,0 +1,26 @@
import React from "react";
// also exported from '@storybook/react' if you can deal with breaking changes in 6.1
import { Story, Meta } from "@storybook/react/types-6-0";
import {
DeleteCollectionConfirmationPanel,
DeleteCollectionConfirmationPanelProps,
} from "./DeleteCollectionConfirmationPanel";
export default {
title: "Example/Button",
component: DeleteCollectionConfirmationPanel,
argTypes: {
backgroundColor: { control: "color" },
},
} as Meta;
const Template: Story<DeleteCollectionConfirmationPanelProps> = (args) => (
<DeleteCollectionConfirmationPanel {...args} />
);
export const Primary = Template.bind({});
Primary.args = {
explorer: {},
label: "Delete Collection Pane",
};