mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-30 08:18:03 +00:00
Rename frontend directory (#472)
* Rename directory * Cleanup * Recover lost images * remove lint
This commit is contained in:
21
frontend/src/components/ShutDownButton.stories.tsx
Normal file
21
frontend/src/components/ShutDownButton.stories.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
// TabsBar.stories.ts|tsx
|
||||
|
||||
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
||||
import ShutDownButton from "./ShutDownButton";
|
||||
|
||||
//👇 This default export determines where your story goes in the story list
|
||||
export default {
|
||||
/* 👇 The title prop is optional.
|
||||
* See https://storybook.js.org/docs/react/configure/overview#configure-story-loading
|
||||
* to learn how to generate automatic titles
|
||||
*/
|
||||
title: "ShutDownButton",
|
||||
component: ShutDownButton,
|
||||
} as ComponentMeta<typeof ShutDownButton>;
|
||||
|
||||
//👇 We create a “template” of how args map to rendering
|
||||
const Template: ComponentStory<typeof ShutDownButton> = () => (
|
||||
<ShutDownButton />
|
||||
);
|
||||
|
||||
export const Default = Template.bind({});
|
||||
Reference in New Issue
Block a user