mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
* 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
39 lines
667 B
TypeScript
39 lines
667 B
TypeScript
import type { Meta } from "@storybook/react-vite";
|
|
|
|
import StatusLabel, { DeploymentStatus } from "./StatusLabel";
|
|
|
|
const meta = {
|
|
title: "StatusLabel",
|
|
component: StatusLabel,
|
|
} satisfies Meta<typeof StatusLabel>;
|
|
|
|
export default meta;
|
|
|
|
export const Deployed = {
|
|
args: {
|
|
status: DeploymentStatus.DEPLOYED,
|
|
isRollback: false,
|
|
},
|
|
};
|
|
|
|
export const Failed = {
|
|
args: {
|
|
status: DeploymentStatus.FAILED,
|
|
isRollback: false,
|
|
},
|
|
};
|
|
|
|
export const Pending = {
|
|
args: {
|
|
status: DeploymentStatus.PENDING,
|
|
isRollback: false,
|
|
},
|
|
};
|
|
|
|
export const Superseded = {
|
|
args: {
|
|
status: DeploymentStatus.SUPERSEDED,
|
|
isRollback: false,
|
|
},
|
|
};
|