File tree 1 file changed +8
-11
lines changed
site/src/pages/DeploySettingsPage/GitAuthSettingsPage 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 1
- import { ComponentMeta , Story } from "@storybook/react" ;
2
- import {
3
- GitAuthSettingsPageView ,
4
- GitAuthSettingsPageViewProps ,
5
- } from "./GitAuthSettingsPageView" ;
1
+ import { GitAuthSettingsPageView } from "./GitAuthSettingsPageView" ;
2
+ import type { Meta , StoryObj } from "@storybook/react" ;
6
3
7
- export default {
4
+ const meta : Meta < typeof GitAuthSettingsPageView > = {
8
5
title : "pages/GitAuthSettingsPageView" ,
9
6
component : GitAuthSettingsPageView ,
10
7
args : {
@@ -19,9 +16,9 @@ export default {
19
16
] ,
20
17
} ,
21
18
} ,
22
- } as ComponentMeta < typeof GitAuthSettingsPageView > ;
19
+ } ;
23
20
24
- const Template : Story < GitAuthSettingsPageViewProps > = ( args ) => (
25
- < GitAuthSettingsPageView { ... args } />
26
- ) ;
27
- export const Page = Template . bind ( { } ) ;
21
+ export default meta ;
22
+ type Story = StoryObj < typeof GitAuthSettingsPageView > ;
23
+
24
+ export const Page : Story = { } ;
You can’t perform that action at this time.
0 commit comments