Closed hirnschmalz closed 2 months ago
I don't see why not? Have you tried it and it didn't work? If so what errors did you get
Sorry, my fault - wrong code 🤦
Just in case anybody else is struggling. Decorators work like this
decorators:[
(Story) => `
<div class="grid">
${Story()}
</div>
`,
],
Nice! Thanks for replying 👍
Is there a way to make use of Storybooks decorators to wrap the component with some additional HTML code that should not be shown in the HTML view of Storybook?