File tree 1 file changed +11
-0
lines changed
site/src/pages/TemplateVersionEditorPage
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { action } from "@storybook/addon-actions" ;
1
2
import type { Meta , StoryObj } from "@storybook/react" ;
2
3
import { chromatic } from "testHelpers/chromatic" ;
3
4
import {
@@ -28,6 +29,16 @@ const meta: Meta<typeof TemplateVersionEditor> = {
28
29
template : MockTemplate ,
29
30
templateVersion : MockTemplateVersion ,
30
31
defaultFileTree : MockTemplateVersionFileTree ,
32
+ onPreview : action ( "onPreview" ) ,
33
+ onPublish : action ( "onPublish" ) ,
34
+ onConfirmPublish : action ( "onConfirmPublish" ) ,
35
+ onCancelPublish : action ( "onCancelPublish" ) ,
36
+ onCreateWorkspace : action ( "onCreateWorkspace" ) ,
37
+ onSubmitMissingVariableValues : action ( "onSubmitMissingVariableValues" ) ,
38
+ onCancelSubmitMissingVariableValues : action (
39
+ "onCancelSubmitMissingVariableValues" ,
40
+ ) ,
41
+ provisionerTags : { wibble : "wobble" , wiggle : "woggle" } ,
31
42
} ,
32
43
} ;
33
44
You can’t perform that action at this time.
0 commit comments