@storybook/csf 0.0.2--canary.7c6c115.0 → 0.0.2--canary.4566f4d.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/story.d.ts CHANGED
@@ -106,7 +106,7 @@ export declare type BaseAnnotations<TFramework extends AnyFramework = AnyFramewo
106
106
  args?: Partial<TArgs>;
107
107
  argTypes?: Partial<ArgTypes<TArgs>>;
108
108
  loaders?: LoaderFunction<TFramework, Args>[];
109
- render?: ArgsStoryFn<TFramework, Args>;
109
+ render?: ArgsStoryFn<TFramework, TArgs>;
110
110
  };
111
111
  export declare type ProjectAnnotations<TFramework extends AnyFramework = AnyFramework, TArgs = Args> = BaseAnnotations<TFramework, TArgs> & {
112
112
  argsEnhancers?: ArgsEnhancer<TFramework, Args>[];
@@ -116,7 +116,7 @@ CSF2Story.args = {
116
116
  a: 1
117
117
  };
118
118
  var CSF3Story = {
119
- render: function render() {
119
+ render: function render(args) {
120
120
  return 'Named Story';
121
121
  },
122
122
  name: 'Another name for story',
@@ -138,7 +138,7 @@ var CSF3Story = {
138
138
  }
139
139
  };
140
140
  var CSF3StoryStrict = {
141
- render: function render() {
141
+ render: function render(args) {
142
142
  return 'Named Story';
143
143
  },
144
144
  name: 'Another name for story',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/csf",
3
- "version": "0.0.2--canary.7c6c115.0",
3
+ "version": "0.0.2--canary.4566f4d.0",
4
4
  "description": "Component Story Format (CSF) utilities",
5
5
  "keywords": [
6
6
  "storybook",