Skip to content

Commit

Permalink
Remove legacy rendering option Story
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Jan 13, 2023
1 parent 8bfb467 commit 40d1784
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,21 +97,3 @@ WithCustomDecorator.decorators = [
};
},
] as Story['decorators'];

export const AngularLegacyRendering = (args: Args) => ({
template: `Child Template`,
props: {
...args,
},
});
AngularLegacyRendering.parameters = { angularLegacyRendering: true };
AngularLegacyRendering.decorators = [
(storyFunc) => {
const story = storyFunc();

return {
...story,
template: `Custom Decorator <div style="margin: 3em">${story.template}</div>`,
};
},
] as Story['decorators'];

0 comments on commit 40d1784

Please sign in to comment.