mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-26 06:18: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
36 lines
652 B
TypeScript
36 lines
652 B
TypeScript
import type { Meta } from "@storybook/react-vite";
|
|
|
|
import Tabs from "./Tabs";
|
|
|
|
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: "Tabs",
|
|
component: Tabs,
|
|
} satisfies Meta<typeof Tabs>;
|
|
|
|
export default meta;
|
|
|
|
const defaultArgs = {
|
|
tabs: [
|
|
{
|
|
label: "tab1",
|
|
content: <div>tab1</div>,
|
|
},
|
|
{
|
|
label: "tab2",
|
|
content: <div>tab2</div>,
|
|
},
|
|
{
|
|
label: "tab3",
|
|
content: <div>tab3</div>,
|
|
},
|
|
],
|
|
};
|
|
|
|
export const Default = {
|
|
args: defaultArgs,
|
|
};
|