mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-08-29 15:49:46 +00:00
c9b8fb7809
* Introduced tsconfig.app.json and tsconfig.base.json * yarn.lock * Introduced tsconfig.app.json, tsconfig.base.jsonfig. * Refactored eslint.config.js to latest structure * Returned previous recommended rules. * More rules * Force import rules * Check * Check * Cleanup ESLint configuration and plugins * Cleanup heap: "writable",DD_RUM: "writable" from ESLint configuration * "scripts" moved to the top of package.json
28 lines
713 B
TypeScript
28 lines
713 B
TypeScript
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
|
|
import ClustersList from "./ClustersList";
|
|
|
|
const meta = {
|
|
/* 👇 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: "ClustersList",
|
|
component: ClustersList,
|
|
} satisfies Meta<typeof ClustersList>;
|
|
|
|
export default meta;
|
|
|
|
//👇 We create a “template” of how args map to rendering
|
|
export const Default: StoryObj<typeof ClustersList> = {
|
|
args: {
|
|
filteredNamespaces: [""],
|
|
installedReleases: [],
|
|
selectedCluster: "",
|
|
},
|
|
|
|
argTypes: {
|
|
onClusterChange: { actions: "onClusterChange called" },
|
|
},
|
|
};
|