Skip to content

Commit

Permalink
Play function can only be set at the story level
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Dec 8, 2021
1 parent c2c5bfe commit 85efd3c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/story.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,13 +261,6 @@ export type ComponentAnnotations<
* By defining them each component will have its tab in the args table.
*/
subcomponents?: Record<string, TFramework['component']>;



/**
* Function that is executed after the story is rendered.
*/
play?: PlayFunction<TFramework, TArgs>;
};

export type StoryAnnotations<
Expand Down

0 comments on commit 85efd3c

Please sign in to comment.