|
1 | 1 | import type { Meta, StoryObj } from "@storybook/react";
|
2 | 2 | import {
|
3 | 3 | MockTemplate,
|
4 |
| - MockTemplateVersion, |
5 | 4 | MockWorkspaceResource,
|
6 | 5 | MockWorkspaceVolumeResource,
|
7 | 6 | } from "testHelpers/entities";
|
8 |
| -import { TemplateSummaryPageView } from "./TemplateSummaryPageView"; |
| 7 | +import { TemplateResourcesPageView } from "./TemplateResourcesPageView"; |
9 | 8 |
|
10 |
| -const meta: Meta<typeof TemplateSummaryPageView> = { |
11 |
| - title: "pages/TemplatePage/TemplateSummaryPageView", |
12 |
| - component: TemplateSummaryPageView, |
| 9 | +const meta: Meta<typeof TemplateResourcesPageView> = { |
| 10 | + title: "pages/TemplatePage/TemplateResourcesPageView", |
| 11 | + component: TemplateResourcesPageView, |
13 | 12 | };
|
14 | 13 |
|
15 | 14 | export default meta;
|
16 |
| -type Story = StoryObj<typeof TemplateSummaryPageView>; |
| 15 | +type Story = StoryObj<typeof TemplateResourcesPageView>; |
17 | 16 |
|
18 | 17 | export const Example: Story = {
|
19 | 18 | args: {
|
20 | 19 | template: MockTemplate,
|
21 |
| - activeVersion: MockTemplateVersion, |
22 | 20 | resources: [MockWorkspaceResource, MockWorkspaceVolumeResource],
|
23 | 21 | },
|
24 | 22 | };
|
25 | 23 |
|
26 | 24 | export const NoIcon: Story = {
|
27 | 25 | args: {
|
28 | 26 | template: { ...MockTemplate, icon: "" },
|
29 |
| - activeVersion: MockTemplateVersion, |
30 | 27 | resources: [MockWorkspaceResource, MockWorkspaceVolumeResource],
|
31 | 28 | },
|
32 | 29 | };
|
0 commit comments