mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-26 14:28:04 +00:00
* Migrate common directory to CSF3 notation * Migrate InstalledPackages directory to CSF3 notation * Migrate modal directory to CSF3 notation * Migrate repository directory to CSF3 notation * Migrate others components to CSF3 notation * Fix lint error in repository directory
36 lines
932 B
TypeScript
36 lines
932 B
TypeScript
import { Meta } from "@storybook/react";
|
|
import InstalledPackageCard from "./InstalledPackageCard";
|
|
|
|
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: "InstalledPackageCard",
|
|
component: InstalledPackageCard,
|
|
} satisfies Meta<typeof InstalledPackageCard>;
|
|
|
|
export default meta;
|
|
|
|
export const Default = {
|
|
args: {
|
|
release: {
|
|
id: "",
|
|
name: "",
|
|
namespace: "",
|
|
revision: 1,
|
|
updated: "",
|
|
status: "",
|
|
chart: "",
|
|
chart_name: "",
|
|
chart_ver: "",
|
|
app_version: "",
|
|
icon: "",
|
|
description: "",
|
|
has_tests: false,
|
|
chartName: "", // duplicated in some cases in the backend, we need to resolve this
|
|
chartVersion: "", // duplicated in some cases in the backend, we need to resolve this
|
|
},
|
|
},
|
|
};
|