@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.
- package/dist/index.d.ts +4 -0
- 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
|
/**
|