@storybook/csf 0.0.2--canary.29.e31af55.0 → 0.0.2--canary.29.77954d8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -258,6 +258,10 @@ interface ComponentAnnotations<TFramework extends AnyFramework = AnyFramework, T
258
258
  * By defining them each component will have its tab in the args table.
259
259
  */
260
260
  subcomponents?: Record<string, TFramework['component']>;
261
+ /**
262
+ * Function that is executed after the story is rendered.
263
+ */
264
+ play?: PlayFunction<TFramework, TArgs>;
261
265
  }
262
266
  declare type StoryAnnotations<TFramework extends AnyFramework = AnyFramework, TArgs = Args, TRequiredArgs = Partial<TArgs>> = BaseAnnotations<TFramework, TArgs> & {
263
267
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/csf",
3
- "version": "0.0.2--canary.29.e31af55.0",
3
+ "version": "0.0.2--canary.29.77954d8.0",
4
4
  "description": "Component Story Format (CSF) utilities",
5
5
  "keywords": [
6
6
  "storybook",