diff --git a/src/story.ts b/src/story.ts index 1bda610..ee9bb3a 100644 --- a/src/story.ts +++ b/src/story.ts @@ -290,7 +290,12 @@ export interface ComponentAnnotations; -} + + /** + * Function that is executed after the story is rendered. + */ + play?: PlayFunction; +}; export type StoryAnnotations< TFramework extends AnyFramework = AnyFramework,